Element.title (Property)

The value of the TITLE tag attribute for the HTML tag that created this object.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myElement.title
-myElement.title = aToolTip
HTML syntax:<LINK TITLE="...">
Argument list:aToolTipA text string

This is the text that is presented as a 'ToolTip' when the mouse rolls onto an object and pauses there for a few moments. The MSIE browser and the Netscape 6.0 browser will display this text as a small popup comment box. Earlier versions of Netscape prior to version 6.0 did not support this capability, so it should be considered somewhat implementation-dependent until the penetration of newer browsers increases.

When aural style sheet support is provided by a browser, this value might be spoken as the mouse rolls over it.

Warnings:

See also:Document.title, Element object, LINK.title