title (HTML attribute)

Spec
Depr. Version
No HTML 4
Browser support (more…)
IE6+ FF1+ SA1.3+ OP9.2+ CH2+
Partial Full Partial Full Partial

Syntax

title="string"

Description

The abbreviation is expanded within the title attribute, which, while it’s not technically required for the acronym element (you can validate your page without supplying a title in this element), is advisable at least for the first instance of acronym; otherwise, you’d be indicating an abbreviation but not providing any further information about what it’s an abbreviation of.

Example

The title attribute is applied to an acronym below:

<p>He marvelled at how fluid the <acronym title="Graphical User
    Interface">GUI</acronym> was. It truly was a gooey GUI.</p>

Value

The content of this attribute is the fully expanded version of the content contained between the opening <acronym> and closing </acronym> tags.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
5.5 6.0 7.0 8.0 1.0 1.5 2.0 3.0 3.5 1.3 2.0 3.1 4.0 9.2 9.5 10.0 2.0
None Partial Partial Partial Full Full Full Full Full Partial Partial Partial Partial Full Full Full Partial

Browser support is mixed for this attribute in this instance (note that title is used for other elements—the compatibility notes here relate only to its ability to draw attention to the presence of an acronym).

In the chart above, the support levels have been decided on this basis:

  • full where the browser displays the acronym with an underline and provides tooltip on mouseover
  • partial where the browser provides a tooltip on hover, but doesn’t display an underline (though it can be styled with CSS and accessed using JavaScript and the DOM)
  • none where no visual rendering is provided, and the attribute isn’t recognized in the DOM

User-contributed notes

There are no comments yet.

Related Products