Skip to content
Related Articles

Related Articles

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

View Discussion
Improve Article
Save Article
  • Last Updated : 29 Sep, 2021

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!