diff options
Diffstat (limited to 'devdocs/html/element%2Facronym.html')
| -rw-r--r-- | devdocs/html/element%2Facronym.html | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/devdocs/html/element%2Facronym.html b/devdocs/html/element%2Facronym.html new file mode 100644 index 00000000..0e58970e --- /dev/null +++ b/devdocs/html/element%2Facronym.html @@ -0,0 +1,79 @@ +<header><h1><acronym></h1></header><div class="section-content"><div class="notecard deprecated" id="sect1"><p><strong>Deprecated:</strong> This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the <a href="#browser_compatibility">compatibility table</a> at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.</p></div></div> +<h2 id="summary">Summary</h2> +<div class="section-content"> +<p>The <code><acronym></code> <a href="../index">HTML</a> element allows authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word.</p> <div class="notecard warning" id="sect2"> <p><strong>Warning:</strong> Don't use this element. Use the <a href="abbr"><code><abbr></code></a> element instead.</p> </div> +</div> +<h2 id="attributes">Attributes</h2> +<div class="section-content"><p>This element only has <a href="../global_attributes">global attributes</a>, which are common to all elements.</p></div> +<h2 id="dom_interface">DOM Interface</h2> +<div class="section-content"><p>This element implements the <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement"><code>HTMLElement</code></a> interface.</p></div> +<h2 id="examples">Examples</h2> +<div class="section-content"><div class="code-example"> +<p class="example-header"><span class="language-name">html</span></p> +<pre data-signature="FeusKd/jaKVVYmUP298e6ma3d2xtQD4Wj+co0LEGiEw=" data-language="html"><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>p</span><span class="token punctuation">></span></span> + The <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>acronym</span> <span class="token attr-name">title</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>World Wide Web<span class="token punctuation">"</span></span><span class="token punctuation">></span></span>WWW<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>acronym</span><span class="token punctuation">></span></span> is only a component of the + Internet. +<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>p</span><span class="token punctuation">></span></span> +</pre> +</div></div> +<h3 id="result">Result</h3> +<div class="section-content"><div class="code-example" id="sect3"> + +<iframe class="sample-code-frame" title="Examples sample" id="frame_examples" src="https://live.mdnplay.dev/en-US/docs/Web/HTML/Element/acronym/runner.html?id=examples" loading="lazy"></iframe> +</div></div> +<h2 id="default_styling">Default styling</h2> +<div class="section-content"> +<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>Opera, Firefox, Chrome, 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 <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant"><code>font-variant</code></a><code>: none</code> in the CSS takes care of this case.</li> </ul> <p>It is therefore recommended that web authors either explicitly style this element, or accept some cross-browser variation.</p> +</div> +<h2 id="specifications">Specifications</h2> +<div class="_table"><table class="standard-table"> +<thead><tr><th scope="col">Specification</th></tr></thead> +<tbody><tr><td><a href="https://html.spec.whatwg.org/multipage/obsolete.html#acronym">HTML Standard <br><small># acronym</small></a></td></tr></tbody> +</table></div> +<h2 id="browser_compatibility">Browser compatibility</h2> +<div class="_table"><table> +<thead> +<tr id="bct-browser-type"> +<th></th> +<th colspan="6">Desktop</th> +<th colspan="6">Mobile</th> +</tr> +<tr id="bct-browsers"> +<th></th> +<th>Chrome</th> +<th>Edge</th> +<th>Firefox</th> +<th>Internet Explorer</th> +<th>Opera</th> +<th>Safari</th> +<th>WebView Android</th> +<th>Chrome Android</th> +<th>Firefox for Android</th> +<th>Opera Android</th> +<th>Safari on IOS</th> +<th>Samsung Internet</th> +</tr> +</thead> +<tbody><tr> +<th><code>acronym</code></th> +<td class="bc-supports-yes">1</td> +<td class="bc-supports-yes">12</td> +<td class="bc-supports-yes">1</td> +<td class="bc-supports-yes">Yes</td> +<td class="bc-supports-yes">15</td> +<td class="bc-supports-yes">1</td> +<td class="bc-supports-yes">4.4</td> +<td class="bc-supports-yes">18</td> +<td class="bc-supports-yes">4</td> +<td class="bc-supports-yes">14</td> +<td class="bc-supports-yes">1</td> +<td class="bc-supports-yes">1.0</td> +</tr></tbody> +</table></div> +<h2 id="see_also">See also</h2> +<div class="section-content"><ul> <li>The <a href="abbr"><code><abbr></code></a> HTML element</li> </ul></div><div class="_attribution"> + <p class="_attribution-p"> + © 2005–2023 MDN contributors.<br>Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.<br> + <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/acronym" class="_attribution-link">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/acronym</a> + </p> +</div> |
