HTML Tag Reference - HTML tag <applet>








The <applet> tag defines an embedded applet.

The <applet> tag is deprecated in HTML5, use the <object> tag instead.

Browser compatibility

<applet> Yes Yes Yes Yes Yes

What's new in HTML5

The <applet> tag is deprecated in HTML5,

Required Attribute

code
the file name of a Java applet
object
a serialized representation of an applet

Optional Attribute

align
Possible values:left|right|top|bottom|middle|baseline. Alignment of an applet.
alt
An alternate text for an applet
archive
the URL location of an archive file
codebase
a relative base URL for applets in the code attribute
height
the height of an applet
hspace
horizontal spacing in pixel around an applet
name
the name for an applet
vspace
the vertical spacing in pixel around an applet
width
the width in pixel of an applet