有人知道如何在< select>的选项标签中添加上标 [英] Does anyone know how to add superscripts in the option tag of <select>
本文介绍了有人知道如何在< select>的选项标签中添加上标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有人知道如何在
的选项标签中添加上标。 < select name =
< option value => 24< sup> th< / sup>< / option&
< / select>
解决方案
如果您的用户有合适的字体=http://www.fileformat.info/info/unicode/char/1d57/fontsupport.htm =nofollow>这里有列表),您可以使用Unicode上标字符:
< select name => < option value => 24&#x1D57;&#x02B0;< / option>< / select>
>
Does anyone know how to add superscripts in the option tag of
<select name=" ">
<option value=" ">24<sup>th</sup></option>
</select>
解决方案
If your users have the appropriate fonts (here's a list), you can use the Unicode superscript characters:
<select name=" ">
<option value=" ">24ᵗʰ</option>
</select>
这篇关于有人知道如何在< select>的选项标签中添加上标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文