Which CSS property is used for background color?
-
A
bgcolor
-
B
background-color
Correct answer
-
C
color
-
D
background
Correct answer
B. background-color
11 views
Explanation
background-color sets the background color. Source: Standard CSS content (FBISE-aligned).
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ