Tag Name: <applet> </applet> deprecated

Defines an embedded applet. The applet element was deprecated in HTML 4.01 and is not supported in XHTML 1.0 Strict DTD. To include applets, use the object element.
 
<APPLET code=“Ripples.class” width=“450” height="450”>
Java applet that creates animated ripples.
</APPLET>

Initial values may be supplied via the PARAM element.

<APPLET code=“SoundFile” width=“15” height=“15”>
<PARAM name=“snd” value=“Intro.au”>
Java applet that plays a welcome message.
</APPLET>

Rewrite with OBJECT as follows:

<OBJECT codetype=“application/java”
   classid=“java:Ripples.class”
   width=“500” height=“500”>
Java applet that creates animated ripples.
</OBJECT>

 Rewrite with OBJECT as follows:

<OBJECT codetype="application/java”
   classid="SoundFile”
   width=“15” height=“15”>
<PARAM name=“snd” value=“Intro.au”>
Java applet that plays a welcome message.
</OBJECT>


Attributes:

Attribute Values Description
height pixels Defines the height of the applet
width pixels Defines the width of the object
align left
right
top
bottom
middle
baseline
texttop
absmiddle
absbottom
Defines the text alignment around the applet
alt text An alternate text to be displayed if the browser support applets but cannot run this applet
archive URL A URL to the applet when it is stored in a Java Archive or ZIP file
code URL A URL that points to the class of the applet
codebase URL Indicates the base URL of the applet if the code attribute is relative
hspace pixels Defines the horizontal spacing around the applet
name unique_name Defines a unique name for the applet (to use in scripts)
object name Defines the name of the resource that contains a serialized representation of the applet
title text Additional information to be displayed in tool tip
vspace pixels Defines the vertical spacing around the applet
id reference for script referencing