<APPLET
ALIGN=LEFT|CENTER|RIGHT|TOP|MIDDLE|
BOTTOM
ALT=alternateText
CODE=appletFile
CODEBASE=codebaseURL
DOWNLOAD=n
HEIGHT=pixels
HSPACE=pixels
NAME=appletInstanceName
TITLE=text
VSPACE=pixels
WIDTH=pixels>
...
<PARAM NAME=AttributeName ...>
...
</APPLET>
Embeds a Java applet in an HTML document. The end-tag is required.
LEFT | The applet is aligned to the left of surrounding text. |
CENTER | The applet is aligned to the center of surrounding text. |
RIGHT | The applet is aligned to the right of surrounding text. |
TOP | The applet is aligned to the top of surrounding text. |
MIDDLE | The applet is aligned to the middle of surrounding text. |
BOTTOM | The applet is aligned to the bottom of surrounding text. |
Applet resources are loaded relative to the document URL. The CODEBASE= attribute is used to change this default behavior. If the CODEBASE= attribute is defined, it specifies a different location in which to find applet resources. The value can be an absolute or a relative URL. The absolute URL is used as is, without modification, and is not affected by the document's BASE element. When the CODEBASE= attribute is relative, it is relative to the document URL (or BASE tag, if defined).
Example
<APPLET CODEBASE="applets/javaapps" CODE=JavaDemo.class WIDTH=100 HEIGHT=200> <PARAM NAME=text value="This is a Java applet."> <IMG SRC=logo.gif ALT="Upgrade to Internet Explorer to view this Java applet."> </APPLET>