Html tags in parameter tags

It seems that the html tag cannot be inserted into the option tag. Let's say

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

Are there other ways to erase "somord" without erasing the option tag?

+5
source share
2 answers

Style <option>is the only way. You can’t even use it <span>for styling.

+2
source

Unable to have html tags inside the tag option, style itselfoption

option{
font-weight:bold;
}
+1
source

All Articles