<sup>: The HTML Super Script Element

1 Description

The HTML superscript <sup> element is used to create a superscript (obviously); which just means that the text is smaller and rendered higher up than other text.

The superscript element is most useful when you want to create numbered references to citations which are available at the bottom of the page.

2 Examples

<!DOCTYPE html>
<html>
    <head>
        <title>Example Page</title>
    </head>
    <body>
        <p>The panda is the only bear that eats only bamboo<sup>1</sup>.</p>
        <section>
            <h3>References</h3>
            <ol>
                <li><a href="/files/academic_paper_about_pandas.pdf">Academic Paper About Pandas</a></li>
            </ol>
        </section>
    </body>
</html>

This document was last updated: