applet

< html‎ | elements(Redirected from html/elements/applets)
Jump to: navigation, search

applet – obsolete

This article is Not Ready.


Deprecated

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.

HTML

<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

Specification Status Related Changes
HTML 4.01 W3C Recommendation Feature marked as deprecated
HTML5 W3C Candidate Recommendation Feature marked as obsolete

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?


Compatibility notes

Browser Version Note
Internet Explorer 8+ Windows Internet Explorer 8 and later. The value of the codeBase attribute depends on the current document compatibility mode.

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]