HTML <abbr>

<ABBR>タグは<ACRONYM>タグと同様に、単語の頭文字からなる略語 (abbreviation) であることを表します。 例えば、HTML (Hyper Text Markup Language) や WWW (World Wide Web) などです。

概要

HTML要素のタグ名、属性名および属性値は、大文字と小文字のどちらでもよい

<abbr>
  <!-- phrasing content. -->
</abbr>
<ABBR>
  <!-- phrasing content. -->
</ABBR>

タグの省略

abbr 要素の開始タグ及び終了タグは省略できない。

HTMLタグ<abbr> の使用例と表示サンプルを次に示します。表示結果はブラウザによって異なることがあります。

株価収益率を表す<abbr title="Price Earnings Ratio">PER</abbr>は、米国ではPE ratioと表記される。

株価収益率を表すPERは、米国ではPE ratioと表記される。

内容

abbr 要素の開始タグと終了タグの間にフレージング・コンテンツを含めることができる。

属性

すべての要素に共通するグローバル属性のほか、以下に示す属性を abbr 要素に指定できる。

title
省略形ではない完全な用語を指定する。
<p>The <abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr>
is a community of people interested in evolving the web through standards and tests.</p>

The WHATWG is a community of people interested in evolving the web through standards and tests.

JavaScript

JavaScriptHTMLElement インタフェースを通じて abbr 要素へアクセスできる。

参考文献

Web Hypertext Application Technology Working Group (2025) HTML Living Standard