9.6. The HTML APPLET Element

HTML Element:
										<APPLET CODE="..." WIDTH=xxx
										HEIGHT=xxx ...>
										... </APPLET>
									
Attributes: CODE, WIDTH (required), HEIGHT (required), CODEBASE, ALT, ALIGN, HSPACE, VSPACE, NAME, OBJECT, ARCHIVE (nonstandard), MAYSCRIPT (nonstandard)

The APPLET element associates a class file with a Web page. The referenced class file must extend the Applet class. Either the CODE or OBJECT attribute, as well as the WIDTH and HEIGHT attributes are required in the APPLET tag.

CODE CODE designates the filename of the Java class file to load and is required unless the OBJECT attribute is present. This is not an absolute URL; it is interpreted with respect to the current document's base directory unless CODEBASE is supplied. Although the ...

Get Core Web Programming, Second Edition 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.