-
What will be the output of below mentioned code snippet?
p strong {background-color: yellow;}
-
- Both p and strong have yellow background
- Strong have yellow background
- Strong element within a p element have a yellow background
- All of above
- None of these
Correct Option: C
All occurrences of the strong element within a p element have a yellow background.