Revision 320771 of <acronym>

  • Revision slug: HTML/Element/acronym
  • Revision title: acronym
  • Revision id: 320771
  • Created:
  • Creator: avsaro
  • Is current revision? No
  • Comment

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

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

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.

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}

See Also

{{ HTML:Element_Navigation() }}

Revision Source

<div>
  {{ obsolete_header() }}</div>
<h2 id="Summary" name="Summary">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>
<h2 id="Attributes" name="Attributes">Attributes</h2>
<p>This element has no other attributes than the <a class="new " href="/en-US/docs/HTML/global_attributes" rel="internal" title="HTML/global attributes">global attributes</a>, common to all elements.</p>
<h2 id="DOM_Interface" name="DOM_Interface">DOM Interface</h2>
<p>This element implements the <code><a href="/en-US/docs/DOM/element" title="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-US/docs/DOM/span" title="DOM/span"><code>HTMLSpanElement</code></a> interface for this element.</div>
<h2 id="Example" name="Example">Example</h2>
<pre class="brush:html">
&lt;p&gt;The &lt;acronym title="World Wide Web"&gt;WWW&lt;/acronym&gt; is only one component of the Internet.&lt;/p&gt;
</pre>
<h2 id="Default_styling" name="Default_styling">Default styling</h2>
<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 <code>font-variant: none</code> 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>
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Browser compatibility</h2>
<p>{{ CompatibilityTable() }}</p>
<div id="compat-desktop">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Chrome</th>
        <th>Firefox (Gecko)</th>
        <th>Internet Explorer</th>
        <th>Opera</th>
        <th>Safari (WebKit)</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
      </tr>
    </tbody>
  </table>
</div>
<div id="compat-mobile">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Android</th>
        <th>Firefox Mobile (Gecko)</th>
        <th>IE Phone</th>
        <th>Opera Mobile</th>
        <th>Safari Mobile</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
    </tbody>
  </table>
</div>
<h2 id="See_Also" name="See_Also">See Also</h2>
<ul>
  <li><a href="/en-US/docs/HTML/Element/abbr" title="HTML/Element/abbr">HTML Abbreviation Element</a></li>
</ul>
<div>
  {{ HTML:Element_Navigation() }}</div>
Revert to this revision