Edit in JSFiddle
Result
HTML
H<sub>2</sub>O <br> QNimate<sup>[1]</sup>