Home / Programming MCQs / CSS MCQs / Question

K

Kanak Sharma • 5.38K Points
Tutor III

Q. What will be the output of below mentioned code snippet?

Code:
p strong {background-color: yellow;}
(A) Both p and strong have yellow background
(B) Strong have yellow background
(C) Strong element within a p element have a yellow background
(D) All of above

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.