HTML Tag Reference - HTML tag <abbr>

This element allows authors to indicate a sequence of characters that defines an abbreviation for a word.

The <abbr> tag marks abbreviation or acronym, like "UN" or "USA".

This tag is commonly confused with <acronym>. While Web developers appear to use an <acronym> tag more often than an <abbr> tag, the former is deprecated under HTML5! The confusion continues.

According to the HTML5 specification, the title attribute should be set to the expansion of the abbreviation.

Standard Syntax

    class="class name(s)" 
    dir="ltr | rtl"
    id="unique alphanumeric identifier" 
    lang="language code"
    style="style information" 
    title="advisory text">


Browser compatibility

<abbr> Yes Yes Yes Yes Yes

What's new in HTML5



Global Attributes

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

Event Attributes

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

Default CSS Settings



<!DOCTYPE html>

<p>The <abbr title="UN">UN</abbr> stands for United Nations.</p>


Click to view the demo