Horje

SUPERSCRIPT and subscript - Text Formatting - HTML
Learn
HTML - Text Formatting - Superscript and subscript
Superscript and Subscript

To offset text either upward or downward you can use the tags <sup> and <sub>.

To create superscript:

<sup>superscript here</sup>

To create subscript:

<sub>subscript here</sub>

Syntax

  • <abbr>Abbreviation</abbr>
  • <b>Bold Text</b>
  • <del>Deleted Text</del>
  • <em>Emphasized Text</em>
  • <i>Italic Text</i>
  • <ins>Inserted Text</ins>
  • <mark>Marked (or Highlighted) Text</mark>
  • <s>Stricken Text</s>
  • <strong>Strong Text</strong>
  • <sub>Subscript Text</sub>
  • <sup>Superscript Text</sup>
  • <u>Underlined Text</u>
Read Article
https://develop.horje.com/learn/1434/reference