• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  • Log in
  • Sign up for free
  1. 給開發者的 Web 技術文件
  2. HTML:超文本標記語言
  3. HTML 參考
  4. Elements
    • English (US)
    • Deutsch
    • Español
    • Français
    • 日本語
    • 한국어
    • Português (do Brasil)
    • Русский
    • 中文 (简体)

此頁面由社群從英文翻譯而來。了解更多並加入 MDN Web Docs 社群。

在本文中

  • 嘗試一下
  • 屬性
  • 使用注意事項
  • 默認樣式
  • 範例
  • 技術摘要
  • 規範
  • 瀏覽器相容性
  • 參見
  1. HTML:超文本標記語言
  2. Guides
  3. 內容類型
  4. Comments
  5. Date and time formats
  6. Constraint validation
  7. Viewport meta element
  8. Responsive images
  9. Microdata
  10. Microformats
  11. 怪異模式與標準模式
  12. HTML cheatsheet
  13. How to
  14. Define terms with HTML
  15. Use data attributes
  16. Use cross-origin images
  17. Add a hitmap on top of an image
  18. Author fast-loading HTML pages
  19. Add JavaScript
  20. Reference
  21. Elements
    1. 已棄用
    2. 已棄用

    3. 已棄用
    4. 已棄用
    5. 實驗性質
    6. 已棄用
    7. 已棄用
    8. 已棄用

為縮寫設置樣式

你可以使用 CSS 為縮寫設置自定義樣式,如此簡單範例所示。

HTML

html

Using CSS, you can style your abbreviations!

CSS

css
abbr {
  font-variant: all-small-caps;
}

結果

提供展開

添加 title 屬性可讓你為縮寫或縮略語提供展開或定義。

HTML

html

Ashok's joke made me LOL big time.

結果

定義縮寫

你可以將 與 一起使用,更正式地定義縮寫,如此範例所示。

HTML

html

HTML is a markup language used to create the semantics and structure of a web page.

A Specification (spec) is a document that outlines in detail how a technology or API is intended to function and how it is accessed.

結果

無障礙議題

在頁面上首次使用縮寫或縮略語時拼寫出完整的縮寫或縮略語有助於幫助人們理解,特別是如果內容是技術性的或行業術語。

僅在文本中展開縮寫或縮略語不可行時才包含 title。在宣布的單詞或短語與在屏幕上顯示的內容之間存在差異,特別是如果它是讀者可能不熟悉的技術術語時,可能會令人不安。

HTML

html

JavaScript Object Notation (JSON) is a lightweight data-interchange format.

結果

對於不熟悉內容中討論的術語或概念的人、剛接觸該語言的人和有認知問題的人來說,這尤其有助於理解內容。

技術摘要

內容類型 流內容、段落型內容、捫及內容
允許內容 段落型內容
標籤省略 不允許,開始和結束標籤都是必須的。
允許的父元素 接受任何段落型內容
隱含的 ARIA 角色 沒有相對應的角色
允許的 ARIA 角色 任何
DOM 介面 HTMLElement

規範

Specification
HTML
# the-abbr-element

瀏覽器相容性

參見

  • 使用 元素

Help improve MDN

Learn how to contribute.

This page was last modified on 2025年4月13日 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Bluesky
  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.