APPLETAPPLET*
*Contents  *Index  *Topic Contents
*Previous Topic: ADDRESS
*Next Topic: AREA

APPLET

Description

Places executable content on the page.

Syntax

<APPLET
ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP
ALT=text
CLASS=classname
CODE=filename
CODEBASE=url
DATAFLD=colname
DATASRC=#ID
HEIGHT=n
HSPACE=n
ID=value
NAME=name
SRC=url
STYLE=css1-properties
TITLE=text
VSPACE=n
WIDTH=n
event = script
>

ParameterDescription
ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP Specifies the alignment for the control-like element.
ALT=text Optional text as an alternative to the application if it cannot be executed.
CLASS=classname Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag.
CODE=filename The name of the file containing the compiled Java class.
CODEBASE=url This is an optional parameter that specifies the base URL for the application.
DATAFLD=colname The column name from the data source object that supplies the bound data. This can only be used on the contained PARAM elements.
DATASRC=#ID Indicates the ID of the data source object that supplies the data that is bound to this element.
HEIGHT=n Along with WIDTH=, specifies the size at which the element is drawn. This attribute may be initially set in pixels or percentages.
HSPACE=n Along with VSPACE=, specifies margins for the element.
ID=value An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID names must begin with a letter. The underbar 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 and can only be referenced by ordinal position.
NAME=name Specifies the name of the application.
SRC=url Specifies a URL for the associated file.
STYLE=css1-properties Specifies an in-line style sheet for the tag.
TITLE=text Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event.
VSPACE=n Along with HSPACE=, specifies margins for the element.
WIDTH=n Along with HEIGHT=, specifies the size at which the element is drawn. This attribute may be initially set in pixels or percentages.
event Can be one or more of these events:
onafterupdate onbeforeupdate
onblur onclick
ondataavailable ondatasetchanged
ondatasetcomplete ondblclick
onerrorupdate ondragstart
onfocus onhelp
onkeydown onkeypress
onkeyup onmousedown
onmousemove onmouseout
onmouseover onmouseup
onreadystatechange onresize
onrowenter onrowexit

Remarks

This element is a block element.

Both the start and end tags are required.

Scripting Object

APPLET

See Also

EMBED, OBJECT, PARAM


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.