Javatpoint Logo
Javatpoint Logo

HTML <abbr> tag

HTML <abbr> tag is used to represent an acronym or abbreviation of a longer word or phrase, such as www, HTML, HTTP, etc. The content written between <abbr> tags renders with dotted underline in some browser.

This tag can be used with "title" attribute (optional), and the value of title attribute will be pop-up when the mouse hovers over the content written between <abbr> tag.

Syntax

Following are some specifications about the HTML <abbr> tag

Display Inline
Start tag/End tag Both Start tag and End tag
Usage Semantic/Textual

Example

With title Attribute:

Test it Now

Example

Without title Attribute:

Test it Now

Global attributes:

The <abbr> tag supports the global attributes.

Event Attributes:

The <abbr> tag supports the event attributes.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<abbr>YesYesYesYesYes
Next TopicHTML acronym Tag




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA