More About the <APPLET> Tag
In its simplest form, the <APPLET> tag uses CODE, WIDTH, and HEIGHT attributes to create a space of the appropriate size, and then loads and runs the applet in that space. However, <APPLET> includes several other attributes that can help you better integrate an applet into a Web page's overall design.
Note
The attributes available for the <APPLET> tag are almost identical to those for the HTML <IMG> tag.
ALIGN
The ALIGN attribute defines how the applet will be aligned on a Web page in relation to other parts of the page. This attribute can have one of nine values:
ALIGN=LEFT aligns the applet to the left of the text that follows the applet on the page.
ALIGN=RIGHT aligns the applet to the right of the text that follows ...
Get Sams Teach Yourself Java 2 in 21 Days, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.