Example

A simple <abbr> tag:

Laboratory

description & Usage

The <abbr> tag is used to specify abbreviations.

For example words like:

  • HTML
  • PHP
  • CSS
  • FAQ

They are abbreviations and can be used within the <abbr> tag.

Notes

Note: The <abbr> tag typically uses the title attribute to provide the full form of the abbreviation, so that when the user hovers their mouse over the <abbr> tag, a tooltip with the full term is shown.

<abbr title="HyperText Markup Language">HTML</abbr>

Note: You can also use the <abbr> tag along with the <dfn> tag.

<p><dfn><abbr title="HyperText Markup Language">HTML</abbr></dfn> is simple</p>

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
<abbr>

Global Attributes

The <abbr> tag supports the HTML Global Attributes.

Event Attributes

The <abbr> tag supports the HTML Event Attributes.

Default CSS

Most browsers will display the <abbr> tag with the following default style: