Horje
HTML <abbr> Tag

The <abbr> tag defines an abbreviation or an acronym, like "HTML", "CSS", "Mr.", "Dr.", "ASAP", "ATM".

Tip: Use the global title attribute to show the description for the abbreviation/acronym when you mouse over the element.


An abbreviation is marked up as follows

index.html
Example: HTML
<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>

Output should be:

An abbreviation is marked up as follows

What types of Browsers will Support <abbr> Tag

Output should be:

What types of Browsers will Support <abbr> Tag

<abbr> can also be used with <dfn> to define an abbreviation

Follow the Example
index.html
Example: HTML
<p><dfn><abbr title="Cascading Style Sheets">CSS</abbr>
</dfn> is a language that describes the style of an HTML document.</p>

Output should be:

<abbr> can also be used with <dfn> to define an abbreviation

Default CSS Settings for <abbr> Tag

Most browsers will display the <abbr> element with the following default values:

index.html
Example: HTML
<style>
abbr { 
  display: inline;
} 
</style>
<p><abbr title="Hyper Text Markup Language">HTML</abbr> describes the structure of Web pages using markup.</p>

Output should be:

Default CSS Settings for <abbr> Tag





Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin


Read Article
https://horje.com/learn/1434/reference