Name
CODE — NN 2 IE 3 HTML 3.2
Synopsis
CODE=”fileName.class"
Required
The name of the main class file that starts and runs the applet. If
the CODEBASE
attribute is not specified, the
CODE
attribute must include a path from the
directory that stores the HTML document loading the applet. You might
get away with omitting the .class filename
extension, but don’t take any chances: be complete with the
class name. Most servers are case sensitive, so also match case of
the actual class filename.
Example
<APPLET CODE="applets/ScriptableClock.class" WIDTH=400 HEIGHT=50> </APPLET>
Value
Case-sensitive .class filename or complete path relative to the HTML document.
Default
None.
Object Model Reference
- IE
[window.]document.applets[i].code
[window.]document.appletName.code
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.