title= attribute


Link to Site Map

HTML 4.0 introduces a new general attribute. The <title> tag serves as an overall title for the page. In the same way, the "title=" attribute serves the same purpose, but only over selected sections of the page.

The most noted use of the tag is for audio user agents that will speak the title.

<a href="http:htmlcompendium.org" title="The Compendium of HTML Elements">link to the Compendium</a>
link to the Compendium

The only logical argument to this attribute is a description of a specific defined part of the page.

The title attribute also has a distinct use with the <link> element. Please refer to that page for more information.