abbr Tag for Abbreviations

abbr Tag for Abbreviations

It is used to abbreviate long words. xml:lang attribute should also be used for abbreviating a foreign word to indicate the language used. The long word is given as value to title attribute and is shown as tool tip when mouse moves over text. The abbreviated text placed in the <abbr> tags, is usually underlined with a dotted line in Firefox as shown

HTML code

<p> Center code is <abbr title=”Delhi”>DEL</abbr>.</p>

Browser output

The abbr Tag for Abbreviations

Get industry recognized certification – Contact us

Menu