Home > Abakada: Back to Basics > Language References > HTML Elements > APPLET Element
Defines a container for executable content, specifically a Java applet. | HTML 2, 3.2, 4, 4.01 Deprecated |
HTML Syntax
<applet
code = filename
height = n
width = n
>
NOTE: Both start and end tags are required.
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.
The <applet> element has no attribute of its own, but supports global attributes common to all HTML elements.
<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.
AUDIO EMBED OBJECT VIDEO
|