Blog Desk
February 10, 2020
384
Which CSS property is used to change the text color of an element?
-
color
-
text-color
-
fgcolor
-
The Right Answer is : Option
A
Explanation
Change the text color of an HTML element
The color property is used to set the color of a HTML elements text.
Example:
p{color:#ff0000;}