106
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:
Example
Without title Attribute:
Global attributes:
The <abbr> tag supports the global attributes.
Event Attributes:
The <abbr> tag supports the event attributes.
Supporting Browsers
Element | ![]() | ![]() | ![]() | ![]() | ![]() |
<abbr> | Yes | Yes | Yes | Yes | Yes |
Next TopicHTML acronym Tag