CBSE Class 10 Computer Applications
Question 21 of 37
Cascading Style Sheets (CSS) — Question 1
Back to all questions 1
Question Question 1
Which property is used to change the background color ?
- background-color
- bgcolor
- bg-color
- color
background-color
Reason — The background-color property is used to change the background color of an element. For example,
h1 {background-color : yellow; }