HTML中的上标文字< input type =" submit" /> [英] Superscript text in HTML <input type="submit" />
本文介绍了HTML中的上标文字< input type =" submit" />的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以在< input>
标记的值字段中使用上标文本(例如与注册标记一起使用)?
Is it possible to use superscript text in the value field of the <input>
tag (for example to use with registration mark)?
<input type="submit" name="submit" value="Sometext®"/>
推荐答案
您可以使用<button type =submit>
元素< input type =submit>
然后,您可以在说明中包含任何您想要的标记,例如 < sup>
上标文字:
You could use the <button type="submit">
element instead of <input type="submit">
Then you can include any markup you want in the description, like, e.g., <sup>
for superscripted text:
<button type="submit">someText with <sup>superscripted parts</sup> </button>
这篇关于HTML中的上标文字< input type =" submit" />的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文