abbr (Abbreviation) Tag

<Abbr> (Abbreviation Tag)

Explanation

Abbr Tag element is used to display the abbreviation for a text.
<abbr title="Title">Text</abbr> Content

Example Code:

Result :

The PC is a programmable machine. It is designed to perform a sequence of arithmetic or logical operations.
  • To view the abbreviation, just hover/move the mouse cursor over the underlined text (acronym) in a content.
  • "Title" attribute is used to provide expansion to an acronym. It is mandatory to use this attribute.
  • Just mention the expansion of the abbreviation inside the title attribute.
It is available in previous versions of HTML.
It supports both Global Attributes and Event Attributes in HTML5.

Limitations:

It will function in all major browsers.

Ask Questions

Ask Question