<small>: 側邊註釋元素
The <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>
結果
備註
技術摘要
規範
| 規範 |
|---|
| HTML 標準 # the-small-element |
瀏覽器相容性
BCD 表格只能在瀏覽器中載入