过时
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

摘要

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 <abbr> 元素。

属性

This element only has 全局属性 , which are common to all elements.

DOM Interface

This element implements the HTMLElement 接口。

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

范例

<p>The <acronym title="World Wide Web">WWW</acronym> is only a 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 Internet Explorer, do not style it differently than a <span> 元素。
  • Opera, Firefox, Chrome, 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 takes care of this case.

It is therefore recommended that web authors either explicitly style this element, or accept some cross-browser variation.

规范

规范 状态 注释
HTML 4.01 Specification
The definition of '<acronym>' in that specification.
推荐

浏览器兼容性

The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
acronym 弃用 非标 Chrome 完整支持 Yes Edge 完整支持 12 Firefox 完整支持 Yes IE 完整支持 Yes Opera 完整支持 Yes Safari 完整支持 Yes WebView Android 完整支持 Yes Chrome Android 完整支持 Yes Firefox Android 完整支持 Yes Opera Android 完整支持 Yes Safari iOS 完整支持 Yes Samsung Internet Android 完整支持 Yes

图例

完整支持

完整支持

非标。预期跨浏览器支持较差。

非标。预期跨浏览器支持较差。

弃用。不要用于新网站。

弃用。不要用于新网站。

另请参阅

元数据

  • 最后修改: