asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > APPLET Element

<applet> Element


Defines a container for executable content, specifically a Java applet.HTML 2, 3.2, 4, 4.01 Deprecated

HTML Syntax

NOTE: Both start and end tags are required.

Remarks

An <applet> is executable code written using the Java language, and built or compiled with a Java compiler.

Applets can only be displayed by Java-enabled browsers.

The <applet> tag requires three attributes: code, width and height, a brief description of each shown below.

In the simplest case, the <applet> tags can contain one or more <param> elements that are used to provide information about the parameters, or arguments, to be used by the Java applet.

Applet development is beyond the scope of this reference. For an excellent place to start learning about Java, visit Sun Systems’ Java Tutorial.

NOTE: This element has been deprecated in favor of the OBJECT element.

Attributes

The <applet> element has no attribute of its own, but supports global attributes common to all HTML elements.

Example

<applet code="Animate.class" width=400 height=300>
    <param name="delay" value=30>
    <param name="time" value=120>
</applet>

NOTE: This element is no longer supported in later version browsers.

See Also

AUDIO   EMBED   OBJECT   VIDEO

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

If you have any question, comment or suggestion,
please send us a note