+ 1
What tag is used to change the colour of font
5 Answers
+ 4
selector{
color: value;
}
https://www.sololearn.com/learn/CSS/1089/
+ 1
You can do it with CSS using "color" property
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
0
style
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.)