<APPLET>
tag has several attributes to define how it is positioned on the page.
The
ALIGN
attribute defines how the applet's rectangle is placed on the page relative to other elements. Possible values include LEFT
, RIGHT
, TOP
, TEXTTOP
, MIDDLE
, ABSMIDDLE
, BASELINE
, BOTTOM
and ABSBOTTOM
. This attribute is optional.
You can specify an HSPACE
and a VSPACE
in pixels to set the amount of blank space between an applet and the surrounding text. The HSPACE
and VSPACE
attributes are optional.
<applet code="HelloWorldApplet.class"
CODEBASE="http://www.foo.bar.com/classes" width=200 height=200
ALIGN=RIGHT HSPACE=5 VSPACE=10>
</APPLET>
The ALIGN
, HSPACE
, and VSPACE
attributes are identical to the attributes
of the same name used by the <IMG>
tag.