I've got a simple input tag (which I prettify using Bootstrap) in which I now want to place a superscript (to display "m2"). The problem is that when I do this:
<input class="form-control" name="gla" placeholder="m<sup>2</sup>" type="text">
占位符字面意思是这样的:m<sup>2</sup>
有人知道我如何正确显示上标吗?欢迎所有提示!
如何使用 HTML 实体
<input class="form-control" name="gla" placeholder="m²" type="text">
是的,它有效 http://jsfiddle.net/lekhnath/jvx89kuk/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)