I have a drop down menu full of chemical elements. Is there any way I could format them properly? Ex: H2O
Asked
Active
Viewed 1,971 times
1 Answers
4
You could try using the Unicode subscript characters:
<select>
<option>Hâ‚‚O</option>
</select>
Working sample here: http://jsfiddle.net/pZ3mg/

mellamokb
- 56,094
- 12
- 110
- 136
-
They don't seem to work in my context. They end up appearing as question marks: H?O. Good idea though! – Shawn May 16 '11 at 17:16
-
@Shawn: Then the answer is no, because you're not allowed to have HTML tags inside of an ` – mellamokb May 16 '11 at 17:49