HTML and CSS Reference
name This attribute assigns a name to the applet so that it can be identified by other
resources, particularly scripts.
object This attribute specifies the URL of a serialized representation of an applet.
src As defined for Internet Explorer 4 and higher, this attribute specifies a URL for an
associated file for the applet. Its meaning and use are unclear and it is not part of the HTML
<applet code="atarigame.class" align="left" archive="game.zip"
<param name="difficulty" value="easy">
<strong> Sorry, you need Java to play this game. </strong>
HTML 2, 3.2, 4, 4.01 (transitional)
XHTML 1.0 (transitional)
Firefox 1+, Internet Explorer 4+,
Netscape 2+, Opera 4+, Safari 1+
• The W3C specification does not encourage the use of <applet> and prefers the use
of the <object> tag. Under the strict definition of HTML 4.01, this element is
deprecated and it is cited as obsolete under HTML5, though currently it still appears
in many versions of the specification. Despite the strong desire of standard bodies to
remove this from common use, it is still often used.
• The HTML 4 specification does not show event-handling attributes for this element,
though you may find that they work. However, given that an applet may include an
interactive object, the sense of capturing events with it as compared to within the
applet can be a bit confusing.
<area> (Image Map Area)
This element defines a hotspot region on an image and associates it with a hypertext link.
This element is used only within a <map> tag.
coords="comma-separated list of values"
dir="ltr | rtl"
id="unique alphanumeric identifier"
shape="circle | default | poly | rect"