+ 2
html, change color of a secific words ?
how can i change the color of some words in a paragraph ? ex: I want the name Alex is written in red <p> Hey! I'm Alex. Coding has changed my world. It's not just about apps. Learning to code gave me problem-solving skills and a way to communicate with others on a technical level. I can also develop websites and use my coding skills to get a better job. I learned it all at SoloLearn where they build your self-esteem and keep you motivated. Join me in this rewarding journey. You'll have fun, get help, and learn along the way! </p>
2 Antworten
+ 7
Use span tags.
<span style=“color:red;”>Alex</span>
It is better than font tags. Font tags does not support in HTML5. So use CSS instead.
+ 1
I found the answer. It's <font color="red">Alex</font>
thanks guys anyway