Description

The <abbr> tag defines an abbreviated form of a longer word or phrase.

The following table summarizes the usages context and the version history of this tag.

Placement:Inline
Content:Inline, and text
Start/ End Tag:Start tag: required , End tag: required
Version:HTML 4, 4.01, 5
<a href="https://www.w3.org/">W3C Website</a>

Syntax

The basic syntax of the <abbr> tag is given with:

HTML/XHTML: <abbr title="string"> ... </abbr>

The example below shows the <abbr> tag in action.

<p>The <abbr title="Hyper Text Markup Language">HTML</abbr> is the publishing language of the World Wide Web.</p>

Tag-Specific Attributes

The <abbr> tag doesn't have any specific attribute.

Global Attributes

Like all other HTML tags, the <abbr> tag supports the global attributes in HTML5.

Event Attributes

The <abbr> tag also supports the event attributes in HTML5.

Browser Compatibility

Element
<abbr>YesYesYesYesYes