sub+sup elements

sub

H20 - Water

O2 - Oxygen

CO2 - Carbon Dioxide

sup

HTML5 was published as a Recommendation on the 28th of October 2014.

Code

<p>H<sub>2</sub>0 - Water</p>
<p>HTML5 was published as a Recommendation on the 28<sup>th</sup> of October 2014. </p>

Reference