HTML 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
|1||Internet Explorer||Yes (above IE 6)|
The HTML Abbr Tag supports the HTML Global Attributes and HTML Event Attributes.