what is attribute required to change color of text | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

what is attribute required to change color of text

like text is to be in blue color

31st May 2016, 1:01 PM
Adolf Pavan
Adolf Pavan - avatar
2 Answers
+ 5
It is correct to use CSS for that. For example: <p style="color:blue">Some text</p>
31st May 2016, 8:48 PM
James Flanders
0
in HTML use, <body> <Font color="red"> WRITE YOUR TEXT HERE <font> <body>
8th Jun 2016, 7:28 PM
Arbaz Khan
Arbaz Khan - avatar