How to make a few word bold in button text?

Let’s say I want to create button with the text “I am Superman”

<input type="button" value="I am Superman" name="B3">

However, I want the word “Superman” to be BOLD. How to do that?

Just edit the text property in css which should make it work, but first, you might want to specify an id or a class to the button.

<input type="button" value="I am Superman" name="B3" id="bold" />

 font-weight: bold;

: Sorry, I didn’t see that you only wanted the word ‘superman’ to be bold. Follow Egor’s suggestion.

<button>I am <b>Superman</b></button>

Thanks Egor, but I’m not sure


is widely supported enough.

Is it safe to use it?