Name
applet
Synopsis
<applet>...</applet>
Deprecated. This element (first introduced
in Netscape Navigator 2.0) is used to place a Java applet on the web
page. The applet
element has been
deprecated in favor of the object
element, but it is still supported and commonly used. Some applets
require the use of applet
. The
applet
element may contain a number of
param
elements that provide further instructions or
parameters.
Attributes
- Core(
id
,class
,style
,title
) -
align="left|right|top|middle|bottom"
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.
-
archive="
URLs
"
Provides a space-separated list of URLs with classes to be preloaded.
-
code="
class
"
Required. Specifies the class name of the code to be executed.
-
codebase="
URL
"
URL from which the applet code is retrieved.
-
height="
number
"
Height of the initial applet display area in pixels.
-
hspace="
number
"
Deprecated. Holds
number
pixels of space clear to the left and right of the applet window.-
name="
text
"
Deprecated in XHTML 1.0. Names the applet for reference from elsewhere on the page.
-
object="
text
"
This attribute names a resource containing a serialized representation of an applet’s state. Use either
code
orobject
in anapplet
element, but not both.-
vspace="
number
"
Deprecated. Specifies number of pixels of clear space above and below the applet window.
-
width="
number
"
Required and deprecated (because the element is deprecated) ...
Get Web Design in a Nutshell, 3rd 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.