Suppose you have a text-field in your webpage. The value inside text-field is “This is your welcome text”. Is there any way by which I can provide red color to “welcome” and not to other words.
In short applying styling on some part of text inside a text-field.
can some body suggest a way of doing it?
Not with a text field. You could use a
divor some other element withcontentEditablesetHowever there are caveats depending on what you want to do with that text.