Open In App

Web technologies Questions | CSS Quiz | Set-1 | Question 4

Which of the below CSS class is used to change the text color of CSS ?
(A) background-color
(B) color
(C) color-background
(D) None of the above

Answer: (B)
Explanation: The CSS color property is used to set the color of the HTML element. This property is responsible for setting the font color, background color, etc. The color of elements can be defined in many ways like Built-In Color, RGB Format, RGBA Format, etc.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :