javascript - Is it possible to highlight part text of input button value? -
i'm trying bold part of text inside input button value. html doesn't work inside value attribute, tags <b>
, <strong>
, methods bold()
won't work.
is possible bold part of text?
using input of type button , adding html value won't work, can use button element instead
<button><strong>hello</strong> kitty</button>
Comments
Post a Comment