HTML Tags

HTML <abbr> Tag

Topic: HTML5 Tags ReferencePrev|Next

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

Syntax

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

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

Note: The title attribute is used inside the <abbr> tag to provide an expanded form of the abbreviation, when the user mouse over it.

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

The <abbr> tag is supported in all major modern browsers.

Browsers Icon

Basic Support—

  • Firefox 1+
  • Google Chrome 1+
  • Internet Explorer 7+
  • Apple Safari 1+
  • Opera 6+

Further Reading

See tutorial on: HTML Text Formatting.

Related tag: <acronym>.

Bootstrap UI Design Templates Property Marvels - A Leading Real Estate Portal for Premium Properties