Appearance: | <APPLET CODE=string HEIGHT=n WIDTH=n > </APPLET> |
---|---|
Attributes: | CODEBASE=URL , CODE=string , NAME=string , ALT=string , ALIGN=left|right|top|middle|bottom, HEIGHT=n , WIDTH=n , HSPACE=n , VSPACE=n |
Contents: | PARAM and TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and plain text. |
May occur in: | BODY, DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, H2, H3, H4, H5, H6, PRE, ADDRESS, TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, CAPTION. |
The APPLET tag is used to include Java applets. The CODE attribute indicates the location of the class of the applet itself. CODEBASE can be used to specify an absolute URL for the applet, similar to the BASE element for HTML documents. Other classes for this applet will be searched at the location indicated in CODEBASE. If this is not specified, the current URL will be used for the location. The NAME attribute gives the name of the applet.
Just like with IMG, WIDTH and HEIGHT are used to specify the width and height of the applet's window, and HSPACE and VSPACE control horizontal and vertical spacing around the applet. ALIGN sets the horizontal or vertical alignment for the applet.
Arguments to the applet can be specified with the PARAM tag, which goes inside the APPLET tag.
The ALT text may contain text which should be displayed if the applet cannot be run, but you should use the contents of APPLET instead. In here you may use markup, so you can provide a better alternative than with the ALT text.
Reference index ~
Wilbur index ~
Tag overview ~
Feedback
Copyright © 1997 Arnoud "Galactus" Engelfriet.