The title attribute on an <abbr> tag describes what the abbreviation or acronym stands for.
Hovering the mouse over the button will display the tooltip with description.
A title attribute on an <abbr> tag.
Hover over the word 'CSS' to see the description (i.e. expansion).
<div>
We use <abbr title="Cascading Style Sheets">CSS</abbr>
to design our web pages.
</div>
The title attribute specifies the explanation or expansion of the <abbr> element.
Its value is displayed as a tooltip when the cursor hovers over the abbreviation.
<abbr title="text">
Value | Description |
---|---|
text | String value with the description or explanation of the abbreviation or acronym. |
Here is when title support started for each browser:
Chrome
|
1.0 | Sep 2008 |
Firefox
|
1.0 | Sep 2002 |
IE/Edge
|
1.0 | Aug 1995 |
Opera
|
1.0 | Jan 2006 |
Safari
|
1.0 | Jan 2003 |
Back to <abbr>