Reputation: 11401
I have a drop down menu full of chemical elements. Is there any way I could format them properly? Ex: H2O
Upvotes: 4
Views: 1995
Reputation: 56779
You could try using the Unicode subscript characters:
<select>
<option>H₂O</option>
</select>
Working sample here: http://jsfiddle.net/pZ3mg/
Upvotes: 4