<?xml version="1.0" encoding="utf-8"?>

How to apply subscript formatting

How to apply subscript formatting

The <sub> tag specifies the inline text that should be displayed as subscript for solely typographical reasons — that is, to change the text's position to comply with typographical conventions or standards, like in chemical or mathematical formulas.

If you need to use text with an altered baseline for stylistic purposes — for example, to style a company's name — use the CSS vertical-align property instead.

Improve your UX & Product skills with interactive courses that actually work