<APPLET ...>
Usage Recommendation |
use it, but don't rely on it |
CODE : the applet to runCODEBASE : path to the applet classWIDTH : width of the appletHEIGHT : height of the appletALIGN : alignment of applet to surrounding textVSPACE : vertical space between applet and surrounding text |   |
HSPACE : horizontal space between applet and surrounding textBORDER : empty space surrounding the appletNAME : name of applet for reference by other appletsARCHIVE : a compressed collection of applet componentsMAYSCRIPT : If Java can use JavaScript |
<APPLET ...> puts an applet in your page. In its simplest use, <APPLET ...> requires the use of CODE (to tell what applet file to load), WIDTH (to tell how wide the applet should be), and HEIGHT (to tell how tall the applet should be).
this code |
produces this |
<APPLET CODE="MyApplet.class" WIDTH=100 HEIGHT=100>
<PARAM NAME=TEXT VALUE="Hi There">
<P>Hi There<P>
</APPLET>
|
|
The contents of <APPLET ...> is either the <PARAM ...> tag, or information which
is ignored by browsers which understand <APPLET ...> . This method of ignoring the
contents allows you to put in text for browsers which don't understand <APPLET ...> .
|
|