HTML <abbr> Tag

Definition and Usage

<abbr> The tag defines abbreviations or initialisms, such as 'HTML', 'CSS', 'Mr.', 'Dr.', 'ASAP', 'ATM'.

By marking abbreviations, you can provide useful information to browsers, spell checkers, and search engines.

<abbr> The tag was initially introduced in HTML 4.0 to indicate that the text it contains is an abbreviation of a longer word or phrase.

Tip:Use global title attributeIt can display descriptions of abbreviations/initialisms.

See also:

HTML DOM Reference Manual:Abbreviation object

Instance

Example 1

The abbreviation is marked like this:

<abbr title="World Health Organization">WHO</abbr> was established in 1948.

Try It Yourself

Example 2

<abbr> can also be used with <dfn> to define abbreviations:
<p>
<dfn><abbr title="Cascading Style Sheets">CSS</abbr></dfn>
is a language used to describe the style of HTML documents.
</p>

Try It Yourself

Global Attributes

<abbr> The tag also supports Global attributes in HTML.

event attributes

<abbr> The tag also supports Event attributes in HTML.

Default CSS Settings

Most browsers will use the following default values to display <abbr> Element:

abbr {
  display: inline;
}

Try It Yourself

Browser Support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support