HTML <applet> Tag

This tag is deprecated in HTML 4.01 and not supported in HTML5, use the <object> tag instead.

Description

The <applet> HTML element is intended to be used to insert small programs written in the Java language. Between the opening and closing tags, you can add text that will be displayed in the browser if it does not support applets. Otherwise, the text is not displayed.

Properties

Permitted Parents
Any element that accepts embedded content
Content
Block, inline, and text; any <param> elements must come first
Start/End Tags
Start tag: required, End tag: required

Example

HTML
<applet code="lines.class" width="350" height="350">
Java applet that draws animated lines.
</applet>

Attributes

None

Global Attributes

None

Event Attributes

None

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
YesYesYesYesYesYes
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
XYesYesYesXX