This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
The HTML Applet Element (
<applet>) identifies the inclusion of a Java applet.
Usage note: This element has been removed in HTML5 and shouldn't be used anymore. Instead web developers should use the more generic
<applet>element may also be rendered as alternative text.
<param>elements passed to the Java applet.
datafld, this attribute is used for data binding under Internet Explorer 4. It indicates the id of the data source object that supplies the data that is bound to the
<param>elements associated with the applet.
<applet code="game.class" align="left" archive="game.zip" height="250" width="350"> <param name="difficulty" value="easy"> <b>Sorry, you need Java to play this game.</b> </applet>
|Feature||Chrome||Edge||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Basic support||No support||(Yes)||(Yes)||(Yes)||No support||(Yes)|
|Feature||Android||Edge||Firefox Mobile (Gecko)||IE Mobile||Opera Mini||Opera Mobile||Safari Mobile|
|Basic support||No support||(Yes)||No support||No support||No support||No support||No support|
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 entirely obsolete in HTML5.
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.