English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The HTML <abbr> tag defines abbreviations or acronyms in HTML documents. An example of an abbreviation is Mr. (Mister). An example of an initialism is WTO, which stands for World Trade Organization. This tag is also commonly referred to as the <abbr> element.
The marked abbreviations are as follows:
!doctype html <html> <head> <meta charset="UTF-8"> <title>HTML5 Example by www.oldtoolbag.com</title> </head> <body> <h1>Heading 1</h1> <p>Did you know that <abbr>HTML</abbr> stands for HyperText Markup Language?</p> </body> </html>Test to see ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the <abbr> tag.
Note:IE 6 Or earlier versions of IE browsers do not support the <abbr> tag.
The <abbr> tag is used to represent an abbreviation or initialism, such as "WWW" or "WTO".
By marking up abbreviations, you can provide useful information to browsers, spelling checkers, translation systems, and search engine classifiers.
Tip:In some browsers, when you move the mouse over the abbreviation with the <abbr> tag/When hovering over an initialism, the title attribute of the <abbr> tag can be used to display the abbreviation./The full version of the initialism.
The HTML <abbr> element is located within the <body> tag.
The title attribute is optional, but if it is included, it must contain a readable abbreviation explanation. When hovering over the title on some browsers, it will display as a tooltip.
Some browsers may apply special styles to the <abbr> tag, such as adding an underline or translating the text to lowercase.
Support for <abbr> tag Global Attributes of HTML.
Support for <abbr> tag HTML Event Attributes.