Name
<applet> — NN: 2, 3, 4 • MSIE: 2, 3, 4, 5 • HTML 4D • WebTV • Opera3
Synopsis
<applet>...</applet>
This tag, introduced by Navigator 2.0, is used to place a Java applet
on the web page. It is deprecated in the HTML 4.0 Specification in
favor of <object>.
Attributes
align=center|left|rightAligns the applet and allows text to wrap around it (same as image alignment).
alt=textProvides alternate text if the applet cannot be displayed.
code=classSpecifies the class name of the code to be executed (required).
codebase=urlURL from which the code is retrieved.
height=numberHeight of the applet window in pixels.
hspace=numberHolds a specified number of pixels space clear to the left and right of the applet window.
name=textNames the applet for reference elsewhere on the page.
vspace=numberHolds a specified number of pixels space clear above and below the applet window.
width=numberWidth of the applet window in pixels.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access