bxx bxx - 2 months ago 14
CSS Question

html tags in the option tags

It seems an html tag can't be inserted in the option tag. Say

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


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

Answer

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