Edit in JSFiddle
Result
HTML
CSS
<p> 2<sup>4</sup> </p> <p> H<sub>2</sub>O </p>