+ 1

Which tag is used to color text in html?

do not know the relevant tag

29th Dec 2017, 11:53 AM
Atul
Atul - avatar
9 Answers
+ 6
(edit) <font color="your_color"> your_text </font> https://m.wikihow.com/Use-Font-Color-Tags-in-HTML
29th Dec 2017, 12:00 PM
David Ashton
David Ashton - avatar
+ 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>
29th Dec 2017, 11:57 AM
Koketso Dithipe
Koketso Dithipe - avatar
+ 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."
29th Dec 2017, 4:16 PM
David Ashton
David Ashton - avatar
+ 1
thanks David Ashton sir.
29th Dec 2017, 12:16 PM
Atul
Atul - avatar
+ 1
You can use CSS for coloring HTML text
29th Dec 2017, 1:31 PM
Al Shihabul Alam
Al Shihabul Alam - avatar
0
what is your job sir?
29th Dec 2017, 12:19 PM
Atul
Atul - avatar
0
Mainly we use css for coloring html content..
31st Dec 2017, 9:35 AM
Al Shihabul Alam
Al Shihabul Alam - avatar
- 1
bgcolor?
31st Dec 2017, 6:17 AM
John Timoty Josol
John Timoty Josol - avatar