<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>
This is the first sentence.
<small>This whole sentence is in small letters.</small>
</p>
結果
CSS 替代方法
html
<p>
This is the first sentence.
<span style="font-size:0.8em">This whole sentence is in small letters.</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.