πŸ“Š CSS
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Strong element within a p element have a yellow background

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
49084
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
88%
Success Rate