Friday, July 8, 2022

HTML Tag


Example

An abbreviation is marked up as follows:

The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.
Try it Yourself »

More "Try it Yourself" examples below.


Definition and Usage

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.

Global Attributes

The <abbr> tag supports the Global Attributes in HTML.


Event Attributes

The <abbr> tag supports the Event Attributes in HTML.


More Examples

Example

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

<p><dfn><abbr title="Cascading Style Sheets">CSS</abbr>
</dfn> is a language that describes the style of an HTML document.</p>
Try it Yourself »

Related Pages

HTML DOM reference: Abbreviation Object


Default CSS Settings

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

Example

abbr {
  display: inline;
}
Try it Yourself » 

SHARE THIS

Author:

urdufundastory.blogspot.com is the first of its kind of trendsetting venture existent in Pakistan. It is for the first time in the history of this nation that a large scale project of such nature, evolved from an extraordinarily revolutionizing concept to a practical fulfillment.

0 Comments: