Which CSS property changes text color?
-
A
font-color
-
B
text-color
-
C
color
Correct answer
-
D
font-style
16 views
Explanation
The color property in CSS sets the foreground color of an element's text.
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ