+ 1
Which tag is used to color text in html?
do not know the relevant tag
9 Answers
+ 6
(edit)
<font color="your_color"> your_text </font>
https://m.wikihow.com/Use-Font-Color-Tags-in-HTML
+ 17
<font color="red"></font>
The font tag is not supported in HTML 5 anymore, even though it'll still work. It's advised to use CSS instead
In CSS, it's going to be something like <p style="color:red;"> Red text </p>
+ 6
Thanks for pointing out the syntax error @Martin Taylor.
The article I included the link for starts off by saying "The HTML font tag is now obsolete, and professional web developers should avoid using it.[1]Â While it is an easy way to change font color for personal projects, there is no guarantee that it will continue to work as browsers update. For best results, use the CSS method at the end of this article."
+ 1
thanks David Ashton sir.
+ 1
You can use CSS for coloring HTML text
0
what is your job sir?
0
Mainly we use css for coloring html content..
- 1
bgcolor?