<applet>
HTML <applet> Tags - HTML5 is not supported
##InstanceAn embedded Java applet:
<applet code="Bubbles.class" width="350" height="350"> Java applet that draws animated bubbles. </applet>
Browser support
Comments: Some There is still support for <applet> in the browser but it requires additional plug-ins and installation processes to work.
Tag definition and usage instructions
What does applet mean?
HTML5 does not support the <applet> tag. Please use the <object> tag instead.
In HTML 4.01, the <applet> element is deprecated. The <applet> tag defines the embedded applet.Differences between HTML 4.01 and HTML5HTML5 does not support the <applet> tag, and HTML 4.01 has deprecated the <applet> tag.
Required attributes
Value | Description | |
---|---|---|
URL | Specifies the file name of the Java applet.||
name | specifies the name of the resource that contains a series of versions of this applet.
Value | Description | |
---|---|---|
left |
right top bottom middle Baseline | specifies the alignment of the applet relative to surrounding elements. |
text | Specifies the replacement text for the applet.||
URL | Specifies the location of the archive file.||
URL | Specifies the base URL for the applet specified in the code attribute.||
pixels | Specifies the height of the applet.||
pixels | Defines the horizontal spacing around the applet.||
name | Defines the name of the applet (to be used in scripts).||
pixels | Defines the vertical spacing around the applet.||
pixels | Specifies the width of the applet.
Attributes | Value | Description |
---|---|---|
class | classname | Specifies the class name of the element |
id | id | Specifies the unique id of the element |
style | style_definition | Specifies the inline style of the element |
title | text | Specifies additional information for the element |
For a complete description, visit the standard properties.
Event Attributes
In HTML 4.01, the <applet> tag does not support any event attributes.
For a complete description, visit the event properties.