This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

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