The <sup>
tag defines superscript text. Superscript text appears half a character above the normal line, and is sometimes rendered in a smaller font. Superscript text can be used for footnotes, like WWW[1].
Tip: Use the <sub> tag to define subscript text.
Element | |||||
---|---|---|---|---|---|
<sup> | Yes | Yes | Yes | Yes | Yes |
The <sup>
tag also supports the Global Attributes in HTML.
The <sup>
tag also supports the Event Attributes in HTML.
HTML tutorial: HTML Text Formatting
HTML DOM reference: Superscript Object
Most browsers will display the <sup>
element with the following default values:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!