Name

TITLE — NN n/a IE 4 HTML 4

Synopsis

TITLE=”advisoryText"

Optional

An advisory description of the destination document. Internet Explorer 4 implements this attribute such that the browser displays a tooltip with the attribute’s value when the cursor remains positioned over the element for a couple of seconds. The appearance of the tooltip is governed by the operating system version of the browser. In Windows, the tooltip is the standard small, light yellow rectangle; on the Mac, the tooltip displays as a cartoon bubble in the manner of the MacOS bubble help system. If no attribute is specified, the tooltip does not display.

Use this attribute with care. Because a DIV element can be fairly large, it is likely that the cursor will frequently be at rest over the element when the user isn’t particularly paying attention. The incessant display of the tooltip over the large screen area could become annoying.

You can assign any descriptive text you like to this attribute. Not everyone will see it, so do not put mission-critical information here. Future or special-purpose browsers might use this attribute’s information to read information about the link to vision-impaired web surfers.

Example

<DIV TITLE="Sub-Saharan Africa" HREF="chapter3.html">...</DIV>

Value

Any string of characters. The string must be inside a matching pair of (single or double) quotation marks.

Default

None.

Object Model Reference

IE

[window.]document.all.elementID.title

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.