HTML abbr tag

Example

An abbreviation is marked up as follows:

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

Definition and Usage

The <abbr> tag defines an abbreviation or an acronym, like "HTML", "CSS", "Mr.", "Dr.", "ASAP", "ATM".

Tip: Use the global title attribute to show the description for the abbreviation/acronym when you mouse over the element.

Global Attributes

The <abbr> tag supports the Global Attributes in HTML.

Event Attributes

The <abbr> tag supports the Event Attributes in HTML.

More Examples

Example

 <abbr> can also be used with <dfn> to define an abbreviation:

<p><dfn><abbr title="Cascading Style Sheets">CSS</abbr>
</dfn> is a language that describes the style of an HTML document.</p>

Default CSS Settings

Most browsers will display the <abbr> element with the following default values:

Example

abbr {
display: inline;
}

Comments

Most Reads