INS
HTML Element Reference

INS

Description

Indicates text that has been added to the document.

Syntax

<INS
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>

ParameterDescription
CLASS=classname Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag.
ID=value An 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 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 that can only be referenced by ordinal position.
LANG=language Specifies which language to use in ISO standard language abbreviation form.
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT.
JAVASCRIPT, JSCRIPT The scripting language is written in JavaScript.
VBS, VBSCRIPT The scripting language is written in VBScript.
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.
event Can be one or more of these events:
onclick ondblclick
ondragstart onhelp
onkeydown onkeypress
onkeyup onmousedown
onmousemove onmouseout
onmouseover onmouseup

Remarks

Both the start and end tags are required.

Example


<INS datetime="1997-10-01T12:15:30-05:00">This text has been revised.</DEL>

Scripting Object

INS

See Also

DEL


ISINDEX

Description

Causes the browser to prompt the user for a single line of input with a dialog window.

Syntax

<ISINDEX
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
PROMPT=text
>

ParameterDescription
CLASS=classname Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag.
ID=value An 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 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 that can only be referenced by ordinal position.
LANG=language Specifies which language to use in ISO standard language abbreviation form.
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT.
JAVASCRIPT, JSCRIPT The scripting language is written in JavaScript.
VBS, VBSCRIPT The scripting language is written in VBScript.
STYLE=css1-properties Specifies an in-line style sheet for the tag.
PROMPT=text Specifies a text prompt message for the input field.

Remarks

With HTML 4 this element will be deprecated, with INPUT recommended for use instead.


KBD

Description

Indicates text to be entered at the keyboard. Renders text in bold with a fixed-width font.

Syntax

<KBD
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>

ParameterDescription
CLASS=classname Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag.
ID=value An 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 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 that can only be referenced by ordinal position.
LANG=language Specifies which language to use in ISO standard language abbreviation form.
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT.
JAVASCRIPT, JSCRIPT The scripting language is written in JavaScript.
VBS, VBSCRIPT The scripting language is written in VBScript.
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.
event Can be one or more of these events:
onclick ondblclick
ondragstart onhelp
onkeydown onkeypress
onkeyup onmousedown
onmousemove onmouseout
onmouseover onmouseup
onselectstart

Remarks

Both the start and end tags are required.

Example

<KBD>The user should enter this text.</KBD>

Scripting Object

KBD


LABEL

Description

Specifies a label for a control-like element. The content between the start and end tags defines the label text.

Syntax

<LABEL
ACCESSKEY=key
CLASS=classname
DATAFLD=colname
DATAFORMATAS=HTML | TEXT
DATASRC=#ID
FOR=ID
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>

ParameterDescription
ACCESSKEY=key Specifies an accelerator for the element. Pressing alt-key selects this element in the user's browser.
CLASS=classname Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag.
DATAFLD=colname The column name from the data source object that supplies the bound data.
DATAFORMATAS=HTML | TEXT Indicates whether bound data is plain text or HTML.
DATASRC=#ID Indicates the ID of the data source object that supplies the data that is bound to this element.
FOR=ID Specifies the ID for the control-like element the label is for. This is optional when the label is wrapped around the control the label applies to.
ID=value An 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 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 that can only be referenced by ordinal position.
LANG=language Specifies which language to use in ISO standard language abbreviation form.
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT.
JAVASCRIPT, JSCRIPT The scripting language is written in JavaScript.
VBS, VBSCRIPT The scripting language is written in VBScript.
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.
event Can be one or more of these events:
onclick ondblclick
ondragstart onhelp
onkeydown onkeypress
onkeyup onmousedown
onmousemove onmouseout
onmouseover onmouseup
onselectstart

Remarks

Labels cannot be nested.

Both the start and end tags are required.

Scripting Object

LABEL


LEGEND

Description

Identifies a contained set of fields defined in the FIELDSET element. The LEGEND element must be the first element within the FIELDSET element.

Syntax

<LEGEND
ALIGN=BOTTOM | CENTER | LEFT | RIGHT | TOP
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
VALIGN=BOTTOM | TOP
event = script
>

ParameterDescription
ALIGN= BOTTOM | CENTER | LEFT | RIGHT | TOP Specifies the alignment of the legend text.
BOTTOM Aligns the legend text bottom center.
CENTER Centers the legend text.
LEFT Left aligns the legend text.
RIGHT Right aligns the legend text.
TOP Aligns the legend text top center.
CLASS=classname Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag.
ID=value An 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 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 that can only be referenced by ordinal position.
LANG=language Specifies which language to use in ISO standard language abbreviation form.
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT.
JAVASCRIPT, JSCRIPT The scripting language is written in JavaScript.
VBS, VBSCRIPT The scripting language is written in VBScript.
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.
VALIGN=BOTTOM | TOP Specifies whether the legend text appears at the top or bottom.
event Can be one or more of these events:
onclick ondblclick
ondragstart onhelp
onkeydown onkeypress
onkeyup onmousedown
onmousemove onmouseout
onmouseover onmouseup

Remarks

This element is a block element.

Both the start and end tags are required.

Scripting Object

LEGEND


LI

Description

Denotes one item of a list. This element is used inside a DIR, MENU, OL, or UL block.

Syntax

<LI
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
TYPE=1 | a | A | i | I
VALUE=value
event = script
>

ParameterDescription
CLASS=classname Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag.
ID=value An 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 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 that can only be referenced by ordinal position.
LANG=language Specifies which language to use in ISO standard language abbreviation form.
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT.
JAVASCRIPT, JSCRIPT The scripting language is written in JavaScript.
VBS, VBSCRIPT The scripting language is written in VBScript.
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.
TYPE=1 | a | A | i | I Changes the style of the list.
1 List items are numbered.
a List items are labeled with lowercase letters.
A List items are labeled with uppercase letters.
i List items are labeled with lowercase roman numerals.
I List items are labeled with uppercase roman numerals.
VALUE=value Changes the count of ordered lists as they progress.
event Can be one or more of these events:
onclick ondblclick
ondragstart onhelp
onkeydown onkeypress
onkeyup onmousedown
onmousemove onmouseout
onmouseover onmouseup
onselectstart

Remarks

This element is a block element.

The start tag is required, and the end tag is optional.

Example

<DIR> <LI>Art
<LI>History
<LI>Literature
<LI>Sports
<LI>Entertainment
<LI>Science</DIR>

Scripting Object

LI

See Also

DIR, MENU, OL, UL


LINK

Description

Used to specify a typed hyperlink between the document and some other resource.

Syntax

<LINK
DISABLED
HREF=url
ID=value
MEDIA=SCREEN | PRINT | ALL
REL=STYLESHEET
TITLE=text
TYPE="text/css"
>

ParameterDescription
DISABLED Used to disable an element. This attribute prevents an element from receiving the focus, and causes the element to appear "grayed out."
HREF=url Specifies the destination URL or anchor point.
ID=value An 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 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 that can only be referenced by ordinal position.
MEDIA= SCREEN | PRINT | ALL Describes the output device for the document. A value of "PRINT" does not affect the on-screen layout. Default value is ALL.
SCREEN Output is intended for non-paged computer screens.
PRINT Output is intended for paged, opaque material and for documents on screen viewed in print preview mode.
ALL Applies to all devices.
REL=STYLESHEET The REL attribute gives the relationship(s) described by the hypertext link from the anchor to the target. Values and their semantics will be registered by the HTML registration authority. The default relationship if none other is given is void. The REL attribute is only used when the HREF= attribute is present.
TITLE=text Used to provide advisory information.
TYPE="text/css" Indicates the type of style sheet.

Remarks

This element may only be used within the HEAD tag.

Example

<LINK REL=stylesheet HREF="styles.css" TYPE="text/css">

Scripting Object

LINK


LISTING

Description

This element is no longer recommended and should not be used in new documents. LISTING renders text in fixed-width type. When authoring new documents, use the PRE element.

Syntax

<LISTING
CLASS=classname
ID=string
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>

ParameterDescription
ALIGN= Displays the element left flush, right flush, or centered relative to the display or table.
ID=value An 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 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 that can only be referenced by ordinal position.
LANG=language Specifies which language to use in ISO standard language abbreviation form.
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT.
JAVASCRIPT, JSCRIPT The scripting language is written in JavaScript.
VBS, VBSCRIPT The scripting language is written in VBScript.
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.
Can be one or more of these events:
onclick ondblclick
ondragstart onhelp
onkeydown onkeypress
onkeyup onmousedown
onmousemove onmouseout
onmouseover onmouseup
onselectstart

Remarks

This element is a block element.

Both the start and end tags are required.

Scripting Object

LISTING

See Also

PRE

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.