开发者

html tags in the option tags

It seems an html tag can't be inse开发者_运维知识库rted in the option tag. Say

<option><em>somewords</em></option>

Is there other ways to style the "someword", without styling the option tag?


Styling the <option> is the only way. You can't even use <span> for styling.


Not at all possible to have html tags inside option tag, Style option tag itself

option{
font-weight:bold;
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜