< Previous | HTML 4.01 Tags / XHTML 1.0 Elements | Next >
Free XHTML 1.0 Class | HTML Validators | Free HTML 4.01 Class
<applet> Description:
Used to include a Java applet in a Web page.
Deprecated in favor of the <object></object> element.
<applet> Web Browser Support:
- Firefox 1, 2
- Internet Explorer 3, 4, 5, 6, 7
- Mozilla 1
- Netscape 6, 7, 8
- Opera 6, 7, 8, 9
- Safari 1, 2
- HTML 3.2, 4.0, Loose DTD
- XHTML 1.0: Applet Module, Name Identification Module
<applet> Attributes:
All attributes are optional unless indicated.
<applet> End Tag:
<applet> Contents:
CDATA Information describing the applet that is displayed for browsers that can't display applets. The following tags are valid within the <applet> tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, param, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var
<applet> Valid Context:
The <applet> tag is valid within the following tags:
a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noframes, noscript, object, p, pre, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var
<applet> Usage:
- standard applet (deprecated)
<applet codebase="http://webdesign.about.com/library/classes" code="basicApplet.class" width="50" height="100" alt="Basic Applet"> </applet> - re-written as an object (non-deprecated)
<object codetype="application/java" classid="java:basicApplet.class" codebase="http://webdesign.about.com/library/classes" width="50" height="100"> Basic Applet </object>
<applet> Special Notes:
- This tag has been deprecated in HTML 4.0 in favor of the object element.
More <applet> Information
< Previous | HTML 4.01 Tags / XHTML 1.0 Elements | Next >
Free XHTML 1.0 Class | HTML Validators | Free HTML 4.01 Class

