Skip to content

Text - Superscript and Subscript

Testing superscript and subscript rendering

Superscript and Subscript Test

This page tests the superscript and subscript functionality.

Examples

Subscript:

  • H2O (water)
  • CO2 (carbon dioxide)
  • H2SO4 (sulfuric acid)

Superscript:

  • c2 = a2 + b2 (Pythagorean theorem)
  • E = mc2 (Einstein's mass-energy equivalence)
  • x3 + y3 = z3 (Fermat's last theorem)

Mixed:

  • H2O2 (hydrogen peroxide)
  • SO42- (sulfate ion)

HTML Alternative

You can also use HTML tags directly:

  • H2O
  • E = mc2