The sup tag
The sup
tag displays text in superscript, that is, slightly above the line of regular text and in a smaller font. This is sometimes necessary for writing mathematical or chemical formulas, and so on.
Example
Let's write the formula for a quadratic equation using a superscript:
Formula of quadratic equation: ax<sup>2</sup> + bx + c = 0.
:
See also
-
tag
sub
,
which writes text in subscript -
property
vertical-align
,
with which you can align text