Skip to: content, navigation

by Ian Lloyd

sup (HTML element)

Spec
Depr. Empty Version
No No HTML 2
Browser support full matrix
IE5.5+ FF1+ Saf1.3+ Op9.2+
Full Full Full Full

Example

Here’s an example in which the sup element is used for the purpose of indicating a footnote reference:

<p>This document is a summary of findings. More details on the
    previous cases can be found in the referenced 'Prior Art'
    <sup>1</sup> and 'Intellectual Property History'<sup>2</sup>
    documents.</p>
Type
inline element
Contains
inline elements only
Contained by
block-level elements, inline elements

Description

The sup element is used to define superscript—text that appears half a character’s height above the baseline of the line it’s on. It’s most often used in mathematical formulas, or for the purposes of indicating footnote references.

The example would render on screen as shown in Figure 1.

Figure 1. An example of sup at work Example of sup element

Use This For …

This element can be applied to any text content, but its use is likely to be limited to footnote and mathematical applications.

Compatibility

IE5.5Full
6.0Full
7.0Full
Firefox1.0Full
1.5Full
2.0Full
Safari1.3Full
2.0Full
3.0Full
Opera9.2Full
9.5Full

The sup element enjoys good browser support.

Related Reading

User-contributed notes

There are no comments yet.

Add a note

To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

Related Products

The Principles of Beautiful Web Design

Best Seller!

You don’t need to go to Art School to design great looking web sites!

Book Cover: The Principles of Beautiful Web Design

Download the FREE sample chapters