Sanjeev K Sanjeev K - 5 months ago 20
CSS Question

Showng Trademark (TM) in select dropdown option under select tag

I have the following simple select tag with few options, I would like add trademark (TM) in option value in upper position of title but

<sup>
tag is not changing anything.

What are the other way to display TM in upper position of options?

<select>
<option>Option Value TM</option>
<option>Option Value</option>
<option>Option Value</option>
<option>Option Value</option>
<option>Option Value</option>
</select>

Answer

Just use ascii mark or &#8482; as html

https://jsfiddle.net/fbp5kboa/1/

<select>
  <option>Option Value ™</option>
  <option>Option Value &#8482;</option>
  <option>Option Value</option>
  <option>Option Value</option>
 <option>Option Value</option>
</select>