Revision 79264 of <acronym>

  • Revision slug: HTML/Element/acronym
  • Revision title: acronym
  • Revision id: 79264
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment 93 words added, 16 words removed

Revision Content

{{ deprecated_header() }}

The HTML Acronym Element (<acronym>) allows authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word.

Usage note: this element has been removed in HTML5 and shouldn't be used anymore. Instead web developers should use the {{ HTMLElement("abbr") }} element.

Attributes

This element has no other attributes than the global attributes, common to all elements.

DOM Interface

This element implements the HTMLElement interface.

Implementation note: Up to Gecko 1.9.2 inclusive, Firefox implements the HTMLSpanElement interface for this element.

Example

The <acronym title="World Wide Web">WWW</acronym> is only one component of the Internet.

Default styling

Though the purpose of this tag is purely for the convenience of the author, its default styling vary from one browser to another:

  • some browsers, like IE, do not style it differently than a mere {{ HTMLElement("span") }} element;
  • Opera, Firefox and some others will add a dotted underline to the content of the element;
  • finally a few browsers not only put a dotted underline, but put it in small caps; adding something like font-variant: none in the CSS will take care of this case.

It is therefore strongly recommended that web authors do not rely on the default styling.

See Also

HTML Abbreviation Element

{{ HTML:Element_Navigation() }}

{{ languages( { "ja": "ja/HTML/Element/acronym", "pl": "pl/HTML/Element/acronym" } ) }}

Revision Source

<p>{{ deprecated_header() }}</p>
<p>The HTML Acronym Element (<code>&lt;acronym&gt;)</code> allows authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word.</p>
<div class="note">
<p><strong>Usage note: </strong>this element has been removed in HTML5 and shouldn't be used anymore. Instead web developers should use the {{ HTMLElement("abbr") }} element.</p>
</div>
<h3>Attributes</h3>
<p>This element has no other attributes than the <a class="new " href="/en/HTML/global_attributes" rel="internal" title="en/HTML/global attributes">global attributes</a>, common to all elements.</p>
<h3 class="editable">DOM Interface</h3>
<p>This element implements the <code><a href="/en/DOM/element" title="en/DOM/element">HTMLElement</a></code> interface.</p>
<div class="note"><strong>Implementation note: </strong>Up to Gecko 1.9.2 inclusive, Firefox implements the <a href="/en/DOM/span" title="en/DOM/span"><span style="font-family: Courier New;">HTMLSpanElement</span></a> interface for this element.</div>
<h3 name="Example">Example</h3>
<pre class="eval">The &lt;acronym title="World Wide Web"&gt;WWW&lt;/acronym&gt; is only one component of the Internet.
</pre>
<h3 name="Notes">Default styling</h3>
<p>Though the purpose of this tag is purely for the convenience of the author, its default styling vary from one browser to another:</p>
<ul> <li>some browsers, like IE, do not style it differently than a mere {{ HTMLElement("span") }} element;</li> <li>Opera, Firefox and some others will add a dotted underline to the content of the element;</li> <li>finally a few browsers not only put a dotted underline, but put it in small caps; adding something like <span style="font-family: Courier New;">font-variant: none</span> in the CSS will take care of this case.</li>
</ul>
<p>It is therefore strongly recommended that web authors do not rely on the default styling.</p><h3 name="See_Also">See Also</h3>
<p><a href="/en/HTML/Element/abbr" title="en/HTML/Element/abbr">HTML Abbreviation Element</a></p>
<p>{{ HTML:Element_Navigation() }}</p>
<p>{{ languages( { "ja": "ja/HTML/Element/acronym", "pl": "pl/HTML/Element/acronym" } ) }}</p>
Revert to this revision