HTML Abbr Tag

HTML abbr TagHTML Abbr Tag (<abbr>) is used to indicate the abbreviation or acronym e.g. “WHO”, or “WWF”.

In other words we can say that whenever we want to give acronym in HTML we use the Abbr Tag.

My marking the abbreviations using the HTML Abbr Tag we give useful information to internet browsers, translation systems, spell checking software, search engine spiders or bots and indexing utilities.


Syntax for HTML Abbr Tag

<abbr title=”Some Title”>
abbreviation
</abbr>

Example of HTML Abbr Tag

HTML abbr Tag code Output
The website
<abbr title="Tech Honey">TH</abbr>
started in October 2012.
The website TH started in October 2012

Here in the above Abbr Tag example above we can see that the website name “Tech Honey” comes abbreviated as “TH” in output section of the code.

Once we move our mouse pointer over the “TH” abbreviation we will be able to see the text in the title (in our case “Tech Honey”) as a tip in the browser.


HTML Abbr Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes (above IE 6)
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

The HTML Abbr Tag supports the HTML Global Attributes and HTML Event Attributes.


Tagged , , , , , , , , , , , . Bookmark the permalink.