Sorry, but you really can’t.
As <input>
are self closing, they cannot accommodate any tags like <span>
to add individual properties to.
You can however use some hacks.
Some Hacks
0
solved Do you know how to apply color to individual keywords in textarea?