SUBSCRIPT

What is the formula of Water ?

Isn’t it H2O.

The code to write that is

H<sub>2</sub>O

and, it would print that.