<acronym>

  • Revision slug: HTML/Element/acronym
  • Revision title: acronym
  • Revision id: 79267
  • Created:
  • Creator: FreakCERS
  • Is current revision? No
  • Comment 1 words added

Revision Content

{{ obsolete_header() }}

Summary

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 varies from one browser to another:

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

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

See Also

{{ HTML:Element_Navigation() }}

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

Revision Source

<p>{{ obsolete_header() }}</p>
<h2>Summary</h2>
<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>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>Default styling</h3>
<p>Though the purpose of this tag is purely for the convenience of the author, its default styling varies from one browser to another:</p>
<ul> <li>Some browsers, like IE, do not style it differently than a {{ HTMLElement("span") }} element.</li> <li>Opera, Firefox, and some others add a dotted underline to the content of the element.</li> <li>A few browsers not only add a dotted underline, but also put it in small caps; to avoid this styling, adding something like <span style="font-family: Courier New;">font-variant: none</span> in the CSS take cares of this case.</li>
</ul>
<p>It is therefore strongly recommended that web authors do not rely on the default styling.</p>
<h3>See Also</h3>
<ul> <li><a href="/en/HTML/Element/abbr" title="en/HTML/Element/abbr">HTML Abbreviation Element</a></li>
</ul>
<p>{{ HTML:Element_Navigation() }}</p>
<p>{{ languages( { "ja": "ja/HTML/Element/acronym", "pl": "pl/HTML/Element/acronym" } ) }}</p>
Revert to this revision