<small>: 附随コメント要素
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
<small>
は HTML の要素で、スタイルの表現とは独立して、著作権表示や法的表記のような、注釈や小さく表示される文を表します。既定では、 small
から x-small
のように、一段階小さいフォントでテキストが表示されます。
試してみましょう
属性
この要素にはグローバル属性のみがあります。
例
基本的な使用
html
<p>
これは最初の文です。
<small>この文は小さい文字で表記されています。</small>
</p>
結果
CSS による代替
html
<p>
これは最初の文です。
<span style="font-size:0.8em">この文は小さい文字で表記されています。</span>
</p>
結果
注
技術的概要
仕様書
Specification |
---|
HTML # the-small-element |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
small |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on 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.