The following markup:
<p>The chemical element H<sub>2<\sub>O contains two hydrogen molecules.
produces the following output:
The chemical element H2O contains two hydrogen molecules.