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.
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.
Element | |||||
---|---|---|---|---|---|
<abbr> | Yes | Yes | Yes | Yes | Yes |
The <abbr>
tag supports the Global Attributes in HTML.
The <abbr>
tag supports the Event Attributes in HTML.
<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 »
HTML DOM reference: Abbreviation Object
Most browsers will display the <abbr>
element with the following default values:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!