applet

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

applet

This page has been flagged with the following issues:


Deprecated

Summary

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


Overview Table

DOM Interface HTMLAppletElement

HTML information

Closing Tag required
CSS Display inline

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

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]