HTML abbr tag

HTML <abbr> tag defines abbreviated form of some term. Abbreviation shortens the phrase in which we take the first letter of each word in a phrase.

<p><abbr title="World Health Organization">WHO</abbr> is a specialised  gency of the United Nations that is concerned with international public   health. It was established on 7 April 1948, headquartered in Geneva,       Switzerland.
 </p>
 <!----and now with link--->
 <p><abbr title="World Health Organization"><a href="http://www.who.int"  target="_blank">WHO</a></abbr> is a specialised agency of the United   Nations that is concerned with international public health. It was         established on 7 April 1948, headquartered in Geneva, Switzerland.
</p>
</>

WHO is a specialised gency of the United Nations that is concerned with international public health. It was established on 7 April 1948, headquartered in Geneva, Switzerland.

WHO is a specialised agency of the United Nations that is concerned with international public health. It was established on 7 April 1948, headquartered in Geneva, Switzerland.

Tag Uses

Specific uses of <abbr> tag

In a document, abbreviation annotations can be made. Annotations can be styled using CSS properties or style sheet.

<p> <abbr title="World Wide Web" style="background-color:lightgreen; border:1px solid green;"> WWW </abbr>.</p>

Try </>

Tag omission

Both starting and ending tags are necessary for the abbr element.

Global Attributes

All global attributes are applicable on the abbr element.

Tag Attributes

Attributes that are applicable to <abbr> tag
title

Title attribute defines the expanded form of the abbreviated term.

<abbr title="Cascading Style Sheet">CSS</abbr> is abbreviation of cascading style sheet.


Was this article helpful?