Home / Programming MCQs / CSS MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

Q. Which of the following is the correct syntax to make the background-color of all paragraph elements to yellow?

(A) p {background-color : yellow;}
(B) p {background-color : #yellow;}
(C) all {background-color : yellow;}
(D) all p {background-color : #yellow;}

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.