HTML abbr
From Htmlpedia
Contents
HTML Element ABBR
Definition and Usage
The <abbr> tag defines an abbreviated form (e.g., WWW, HTTP, URI, Mass., etc.). Do not confuse with an ACRONYM (e.g., WAC, radar, laser, etc.).
The <abbr> tag was not supported by Microsoft Internet Explorer until version 7 even though the tag has been in the HTML 4.01 specification since 1999. This meant that the <acronym> tag was exclusively used by developers for both abbreviations and acronyms unless workarounds were employed (such as Dean Edwards' <abbr-cadabra/> implementation).
Examples
<p><abbr title="World Wide Web">WWW</abbr></p> <p><abbr lang="fr" title="Société Nationale des Chemins de Fer">SNCF</abbr></p>
![]() | WWW SNCF |
Attributes
Optional attributes
None
Standard Attributes
id, class, title, style, dir, lang
Event Attributes
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
Tags in Tag
- Fontstyle
- Phrase
EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ABBR, ACRONYM