This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

applet – obsolete

applet

For technical reasons, the title of this article is not the text used to call this API. Instead, use applet

Summary

The applet element (<applet>) embeds a Java applet into a web page.

Overview Table

DOM Interface
HTMLAppletElement

The applet element has been deprecated with HTML 4.01 and made obsolete with HTML5.

Examples

The following example shows how to embed Java applet ‘myApplet’ into a web page.

<applet code="myApplet.class" width="500" height="500">
My Java applet goes here!
</applet>

Notes

Remarks

To use executable content specified by the applet element, a user’s computer must have a Java Runtime Environment (JRE) solution installed.

Related specifications

HTML 4.01
W3C Recommendation
HTML5
W3C Candidate Recommendation

Attributions