html标签 [英] html tags in the option tags
本文介绍了html标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
似乎无法在选项标记中插入html标记。说
It seems an html tag can't be inserted in the option tag. Say
<option><em>somewords</em></option>
有没有其他方法来设置someword的样式,
Is there other ways to style the "someword", without styling the option tag?
推荐答案
样式化< option>
是唯一的方法。您甚至不能使用< span>
进行样式设置。
Styling the <option>
is the only way. You can't even use <span>
for styling.
这篇关于html标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文