HTML sup tag

HTML sup tag

Editorial Team
Editorial Team

Follow us on Discord or Telegram to get access to free tutorials and updates.

The HTML <sup> (superscript) tag is used to define a superscript. Any text written in a sup tag will be displayed above normal text. The text will also appear in a smaller size.

This tag is useful for displaying some mathematical equations, chemical formulas or dates.

To display a subscript, use <sub> tag.




<!DOCTYPE html>
    <title>HTML sup tag</title>
    <p>7<sup>th</sup> June</p>


7th June