Edit in JSFiddle
Result
HTML
H<sub>2</sub>O