You use the
applettag to deploy applets to a multi-browser environment.For complete details on the
applettag, read the W3 HTML specification.
Note: The HTML specification states that theapplettag is deprecated, and that you should use theobjecttag instead. However, the specification is vague about how browsers should implement theobjecttag to support Java applets, and browser support is currently inconsistent. It is therefore recommended that you continue to use theapplettag as a consistent way to deploy Java applets across browsers on all platforms.Following is an example of the applet tag:
<applet code=Applet1.class width="200" height="200"> Your browser does not support theapplettag. </applet>For both Internet Explorer and the Mozilla family of browsers, if Java Plug-in is installed (version 1.3.1_01a or later) then the latest installed version of Java Plug-in is invoked to run the applet.
Note: You cannot use theapplettag to automatically download a JRE if one is not installed locally.