Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML <sup> tags


May 05, 2021 HTML Reference Manual


Table of contents


HTML.lt;sup> tags

The label is the same size as the label, but it appears above half the normal character baseline, refer to the following example:

The underlying text:

<p>This text contains <sup>superscript</sup> text.</p>

Try it out . . .

Browser support

HTML <sup> tags HTML <sup> tags HTML <sup> tags HTML <sup> tags HTML <sup> tags

All major browsers support the label.


Label definition and instructions for use

The label definition is the upper text. T he top text appears above the baseline at half the character height in the current text stream, but is the same font and font size as the Chinese word in the current text stream. The top-labeled text can be used to add footnotes, such as WWW.

Tip: Please define the subsemed text using the label.

Tip: This label is useful when adding footnotes to a document and representing exponential values in equations.


The difference between HTML 4.01 and HTML5

No.


Global properties

Labels support the global properties of HTML.


The event property

The tag supports the event properties of HTML.