Export to GitHub

doctype-mirror - TitleAttribute.wiki


You are here: Home > HTML Reference > Elements > <div> element > title attribute

Usage

Most browsers display the title attribute as a tooltip when you move the cursor over the element.

Values

Elements

You can use the title attribute on any element.

Browser compatibility

Compatibility table legend

| Test | IE8 | IE7 | IE6 | FF3 | FF2 | Saf3 | Op9 | Chrome | |:---------|:--------|:--------|:--------|:--------|:--------|:---------|:--------|:-----------| | div.title reflects <div title="foo"> | Y | Y | Y | Y | Y | Y | Y | Y |

Further reading