Description
HTML tag <abbr>
is used to define an abbreviation or acronym.
An abbreviation or acronym is a shortened form of a word or a phrase like HTML, CSS, ATM, WHO, ASAP, etc.,
These can be used to provide additional information using its title attribute to web browsers, search engines, and translation systems.
Usage Details | |
Placement | It is displayed as an Inline element. |
Contents | It can contain Inline elements and text. |
Tags | Both opening and closing tags are required. |
Versions | HTML 4, 4.01 and 5 |
Syntax
<abbr title="Abbreviation full form">Abbreviation</abbr>
Examples
An <abbr title="Automated Teller Machine">ATM</abbr> can be used to deposit and withdraw cash easily without going to a bank.
Attributes
The following table shows the list of supported and unsupported attributes for the <abbr>
tag.
Attribute Type | Details |
Tag-Specific Attributes | The tag <abbr> does not have any tag-specific attributes. |
Global Attributes | Like all other HTML tags, the tag <abbr> supports the HTML Global Attributes. |
Event Attributes | The tag <abbr> also supports the HTML Event Attributes. |
Browser Compatibility
The tag <abbr>
is supported in all modern browsers.
- Google Chrome 1+
- Internet Explorer or Edge 2+
- Firefox 1+
- Apple Safari 1+
- Opera 4+