<APPLET> ... </APPLET>
|
DEFINITION
<APPLET> ... </APPLET> tags are used to include a Java applet within an html document. |
ATTRIBUTES CODEBASE="..URL.."
Similar to the BASE element for html documents, this speciefies an absolute URL for and applet. The location indicated in CODEBASE indicates where to search for other classes for this applet. The URL will be used if this location is not specified. |
CODE="..text.."
Indicates the location of the class of the applet. |
NAME="..text.."
Specifies the name of the applet |
ALT="..text.."
This attribute may contain text that will display if the applet cannot run. |
ALIGN=("LEFT"|"RIGHT"|"TOP"|"MIDDLE"|"BOTTOM")
Sets the horizontal or vertical alignment for the applet.. |
HEIGHT=number
Specifies the height of the applet's window. |
WIDTH=(number|"%")
Specifies the width of the applet's window. |
HSPACE=number
Controls horizontal blank space around the applet. |
VSPACE=number
Controls vertical blank space around the applet. |
CONTEXT <APPLET> ... </APPLET> is legal within the following markup tags: <A> <ADDRESS> <APPLET> <AREA> <B> <BIG> <BLOCKQUOTE> <BODY> <BR> <CENTER> <CITE> <CODE> <DD> <DFN> <DIV> <DT> <EM> <FONT> <FORM> <H1> <H2> <H3> <H4> <H5> <H6> <I> <IMG> <INPUT> <KBD> <LI> <MAP> <OPTIOND> <P> <PRE> <SAMP> <SCRIPT> <SELECT> <SMALL> <STRIKE> <STRONG> <SUB> <SUP> <TD> <TEXTAREA> <TH> <TT> <U> <VAR> and plain text. The following markup can be used within <APPLET> ... </APPLET>: <A> <APPLET> <AREA> <B> <BIG> <BR> <CITE> <CODE> <DFN> <EM> <FONT> <I> <IMG> <INPUT> <KBD> <INPUT> <PARAM> <SAMP> <SCRIPT> <SELECT> <SMALL> <STRIKE> <STRONG> <SUB> <SUP> <TEXTAREA> <TT> <U> <VAR>. |
SUGGESTED STYLE/USAGE Provide alternate text for those users without Java-enabled browsers and for those who have disabled Java. |
EXAMPLES <APPLET CODEBASE="http://www.gifart.com/Java/uptime" CODE=up.class WIDTH=110 HEIGHT=165> </APPLET> |