Allows pre-compiled executable HotJava applets to be added to HTML documents.
<APPLET
ALIGN=alignment
ALT=alternate Text
ARCHIVE=compressed file
CLASS=Style Sheet class name
CODE=appletFile
CODEBASE=url
DATAFLD=colname
DATASRC=Data Source
HEIGHT=n pixels
HSPACE=n pixels
ID=value
NAME=name
SRC=url
STYLE=styling
TITLE=text
VSPACE=n pixels
WIDTH=n pixels
event = script
>
Parameter |
Description |
ALIGN |
Specifies the alignment for the control-like element. The possible values of this attribute are: left, right, top, texttop, middle, absmiddle, baseline, bottom, absbottom. |
ALT |
This optional attribute specifies any text that should be displayed if the browser understands the APPLET element. |
ARCHIVE |
This optional attribute specifies the location (relative to the CODEBASE
of the main class file) of a compressed file (consisting of all the necessary
class files and support images/sounds etc.) that may be downloaded to
the users Hard Disk, to save download time should they return to the page
at a later date. Any files not contained in this archive that are needed
will be searched for by the browser in the normal way. |
CLASS |
Class of the tag being defined. This is used to associate a subclassed style sheet with the tag. |
CODE |
The name of the file containing the compiled Java class.The file path is relative to the base URL of the applet. It cannot be absolute. |
CODEBASE |
This optional attribute specifies the base URL of the applet -- the directory that contains the applet's code. |
DATAFLD |
The DATAFLD attribute can be used to specify a data column name from the Data source that the <APPLET> is bound to. This can only be used on the contained PARAM elements. |
DATASRC |
Indicates the ID of the data source object that supplies the data that is bound to this element. |
HEIGHT |
These required attributes give the initial height (in pixels) of the applet display area, not counting any windows or dialogs that the applet brings up. |
HSPACE |
These option attributes specify the number of margins pixels on each side of the applet. |
ID |
SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore character, "_", may be used in the ID name. The ID should be unique throughout the scope of the document. If more than one object with the same identifier exists in a document, a collection of those named items is created that can only be referenced by ordinal position. |
NAME |
Specifies the name of the application. |
SRC |
Specifies a URL for the associated file. |
STYLE |
Specifies an in-line style sheet for the tag. |
TITLE |
The TITLE attribute is for advisory information (unless used with a mailto: attribute). The Title attribute should provide the title of the document whose address is given by the HREF attribute. The contents of the title attribute will be displayed in a tooltip during the mouse moves on the link. Internet Explorer 4.0 (and above) is the only browser to implement this. |
VSPACE |
Along with HSPACE=, specifies above and below margins pixels of the applet. |
WIDTH |
Along with HEIGHT=, gives the initial width (in pixels) of the applet display area, not counting any windows or dialogs that the applet brings up. |
event |
Can be one or more of these events: |
Can be supported by IE 3.0+, Netscape 3.0+.
<applet code="coolnav.class" align="baseline" width="168"
height="313">
<param name="Notice" value="CoolMenu2.5,CopyRight (c) 1999
SourceTec Software Co. Ltd, Registered">
<param name="ApStyle" value="004080,ff8c8c,,1,0,0,,13,5,004080,1,Loading
image ...">
...
</applet>
This element is a block element. Both the start and end tags are required.