+ 1

What tag is used to change the colour of font

20th Jul 2018, 3:06 PM
riya jain
riya jain - avatar
5 Réponses
+ 4
20th Jul 2018, 3:16 PM
Random
Random - avatar
+ 1
You can do it with CSS using "color" property
20th Jul 2018, 3:08 PM
KrOW
KrOW - avatar
0
You can learn changing the color of text at CSS tutorial. Just look at CSS section of my code. Here We Go : https://code.sololearn.com/WsGhRY40l0cY/?ref=app
20th Jul 2018, 3:17 PM
Uttam
Uttam - avatar
0
style
20th Jul 2018, 3:47 PM
Bebida Roja
Bebida Roja - avatar
0
If this were a trick question, I think Bebida got closest. <p style="color: purple;">Some text...</p> Tags are used for elements in HTML, not styling. In the above example, the <p> tag is used for a paragraph element, style is an attribute, color is a property, and purple is a value. (Edit: Some tags can be used for styling, like <b> for bold, but there isn't one for color.)
21st Jul 2018, 1:00 PM
Janning⭐
Janning⭐ - avatar