Java-Related HTML Tags

Contents:
The <APPLET> Tag
The <PARAM> Tag
An Example HTML File

This chapter explains what you need to know about HTML to work with Java applets.

The <APPLET> Tag

A Java applet is included in a Web page with the <APPLET> tag, which has the following syntax. Items in brackets ([]) are optional.

<APPLET CODE = applet-filename WIDTH = pixel-width HEIGHT = pixel-height [OBJECT = serialized-applet-filename] [ARCHIVE = jar-file-list] [CODEBASE = applet-url] [ALT = alternate-text] [NAME = applet-name] [ALIGN = alignment] [VSPACE = vertical-pixel-space] [HSPACE = horizontal-pixel-space] > [<PARAM NAME = parameter VALUE = value>] [<PARAM NAME = parameter VALUE = value>] ... [alternate-text] </APPLET>