Open In App

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

Last Updated : 29 Sep, 2021
Like Article
Like
Save
Share
Report

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


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads