开发者

Is it possible to have <sub>scripts in <option>s in html?

开发者 https://www.devze.com 2023-03-06 12:14 出处:网络
I have a drop down menu full of chemical elements. Is there any w开发者_高级运维ay I could format them properly? Ex: H2OYou could try using the Unicode subscript characters:

I have a drop down menu full of chemical elements. Is there any w开发者_高级运维ay I could format them properly? Ex: H2O


You could try using the Unicode subscript characters:

<select>
    <option>H₂O</option>
</select>

Working sample here: http://jsfiddle.net/pZ3mg/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号