applet

FilterElements

<applet> ... </applet>

Deprecated. Not in HTML5. Embeds a Java applet on the page. The applet element may contain a number of param elements that provide further instructions or parameters.

In HTML5, this element and its attributes have been omitted entirely (in favor of object). The applet element is still supported by browsers and is expected to be for the foreseeable future. Some applets require the use of applet.

Start/End Tags

Required/Required

Specifications

  • HTML 4.01

align=

Values: left | right | top | middle | bottom
Aligns the applet and allows text to wrap around it (same as image alignment).

alt=

Values: text
Provides alternate text if the applet cannot be displayed.

archive=

Values: URLs
Provides a space-separated list of URLs with classes to be preloaded.

code=

Values: class
Required. Specifies the class name of the code to be executed.

codebase=

Values: URL
Specifies the URL from which the applet code is retrieved.

height=

Values: number
Specifies the height of the initial applet display area in pixels.

hspace=

Values: number
Deprecated. Specifies the number of pixels of clear space to the left and right of the applet window.

name=

Values: text
Deprecated in XHTML 1.0. Names the applet for reference from elsewhere on the page.

object=

Values: text
Names a resource containing a serialized representation of an applet’s state. Use either code or object in an applet element, but not both.

vspace=

Values: number
Deprecated. Specifies the number of pixels of clear space above and below the applet window.

width=

Values: number
Required. Width of the initial applet display area in pixels.
<applet code="Wacky.class" width="300" height="400">
 <param name="Delay" value="250">
 <param name="Time" value="120">
 <param name="PlaySounds" value="YES">
</applet>

Rendered Example

Applets can not be embedded in this application.