TT object (Object/HTML)

An object that represents the font style controlled by the <TT> HTML tag.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Deprecated
Inherits from:Element object
JavaScript syntax:IEmyTT = myDocument.all.anElementID
IEmyTT = myDocument.all.tags("TT")[anIndex]
IEmyTT = myDocument.all[aName]
-myTT = myDocument.getElementById(anElementID)
-myTT = myDocument.getElementsByName(aName)[anIndex]
-myTT = myDocument.getElementsByTagName("TT")[anIndex]
HTML syntax:<TT> ... </TT>
Argument list:anIndexA reference to an element in a collection
aNameAn associative array reference
anElementIDThe ID value of an Element object
Event handlers:onClick, onDblClick, onDragStart, onFilterChange, onHelp, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onSelectStart

<TT> tags and the objects that represent them are inline elements. Placing them into a document does not create a line break.

See also:Element object

Event nameJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
onClick n/a3.0 3.0 n/a4.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onDblClick n/a3.0 3.0 n/a4.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onDragStart n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a-
onFilterChange n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a-
onHelp n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/aWarning
onKeyDown n/a3.0 3.0 n/a4.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onKeyPress n/a3.0 3.0 n/a4.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onKeyUp n/a3.0 3.0 n/a4.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onMouseDown n/a3.0 3.0 n/a4.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onMouseMove n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a4.0 4.0Warning
onMouseOut n/a3.0 3.0 n/a4.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onMouseOver n/a3.0 3.0 n/a4.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onMouseUp n/a3.0 3.0 n/a4.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onSelectStart n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a-

Inheritance chain:

Element object, Node object