HTML 5 <abbr> tag
Definition and Usage
The <abbr> tag indicates an abbreviated form, like "Inc.", "etc.".
By marking up
abbreviations you can give useful information to browsers, spell checkers, translation systems and search-engine indexers.
Differences Between HTML 4.01 and HTML 5
NONE
Tips and Notes
Tip: In some browsers the title attribute can be used to show the
full version of the expression when you are holding the mouse over the abbreviation.
Example
| Source |
Output |
| <abbr title="et cetera">etc.</abbr> |
etc. |
Standard Attributes
| class, contenteditable, contextmenu, dir, draggable, id,
irrelevant, lang, ref, registrationmark, tabindex, template, title |
For a full description, go to Standard
Attributes in HTML 5.
Event Attributes
| onabort, onbeforeunload, onblur, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress,
onkeyup, onload, onmessage, onmousedown, onmousemove,
onmouseover, onmouseout, onmouseup, onmousewheel, onresize, onscroll, onselect,
onsubmit, onunload |
For a full description, go to Event Attributes
in HTML 5.
Try-It-Yourself Demos
Abbreviations and
acronyms
How to handle an abbreviation and an acronym.
…
|