<sup>...</sup>

HTML4 HTML5

Text placed between opening <sup> and closing </sup> tags is displayed as superscript[cite: 3].

Both opening and closing tags are mandatory[cite: 3].

Example

Code:

Quadratic equation: ax<sup>2</sup> + bx + c = 0

The browser will interpret this code as follows:

Quadratic equation: ax2 + bx + c = 0