NOTICE: This website is no longer updated or supported - as such many of the techniques used to build it may seem antiquated in the modern day. It is preserved for historical reasons only.

HTML XHTML The Complete Reference
home » reference » appendix a » html element reference

<acronym> (Acronym)


This element allows authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word (XML, WWW, and so on).

Standard Syntax


<acronym
class="class name(s)"
dir="ltr | rtl"
id="unique alphanumeric identifier"
lang="language code"
style="style information"
title="advisory text"
</acronym>

Standard Events


onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

Events Defined by Internet Explorer


onactivate, onbeforedeactivate, onbeforeeditfocus, onblur, oncontrolselect, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, onfocus, onmouseenter, onmouseleave, onmove, onmoveend, onmovestart, onreadystatechange, onresizeend, onresizestart, onselectstart, ontimeerror

Examples


<acronym title="Extensible Markup Language">XML</acronym>

<acronym lang="fr" title="Société Nationale de Chemins de Fer">SNCF</acronym>

Compatibility


HTML 4, 4.01, XHTML 1.0, 1.1, Basic
Internet Explorer 4, 5, 5.5, 6
Netscape 6

Notes


<acronym> is a new element that is not defined under HTML 2 or 3.2.

This tag is often confused with <abbr>.

With the title attribute set on this element, Opera and Mozilla may render a dotted underline to suggest the Tooltip that might contain a definition for the word.

Developer Newsletter
Enter email address
(X)HTML Elements
CSS Properties
Previous: abbr Next: address
< Home | About | Chapters | Examples | Errata | Reference | Site Map >