Skip to main content

This guidance is in development. You can find current content and publishing guidance on GOV.UK.

Text formatting

Subscript and superscript

For subscript, put <sub> before the word you want to appear in subscript, and </sub> afterwards.

This is an example of what subscript looks like.

For superscript, put <sup> before the word you want to appear in superscript (without a space), and </sup> afterwards (also without a space).

This is an example of what superscript looks like.

You should use subscript and superscript for scientific notation and measurements, like chemical names or metres squared.