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|right
Aligns the applet and allows text to wrap around it (same as image alignment).
alt=
text
Provides alternate text if the applet cannot be displayed.
code=
class
Specifies the class name of the code to be executed (required).
codebase=
url
URL from which the code is retrieved.
height=
number
Height of the applet window in pixels.
hspace=
number
Holds a specified number of pixels space clear to the left and right of the applet window.
name=
text
Names the applet for reference elsewhere on the page.
vspace=
number
Holds a specified number of pixels space clear above and below the applet window.
width=
number
Width of the applet window in pixels.
Get HTML Pocket Reference 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.