HTML <abbr> tag

Updated: 10/11/2017 by Computer Hope

HTML abbr tag.When writing in HTML, the <abbr> tag is an inline element used to create an acronym or abbreviation. It is useful when you want to shorten a word or phrase, but still want to give additional information to visitors, search engines, and browsers. The following sections contain information about this tag, including an example of it in use, as well as related attributes and browser compatibility.

Note: This element is unique in that it is a phrase tag, which indicates that a section of text has structural meaning.

Example code

The <abbr title="Central Processing Unit">CPU</abbr> ran hot.

Example result

The CPU ran hot.

Tip: Notice that the word "CPU" displays "Central Processing Unit" when you hover your mouse cursor over it.

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <abbr> tag does not have any unique attributes, it does utilize all of the standard attributes.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
2.0+ 1.0+ All versions 1.3+ 2.0+

Additional phrase tags

<acronym>, Browser, Compatibility, CSS, Web design terms