Q. What will be the output of following CSS code snippet?

Code:
h1 {color: red text-decoration: underline; font-style: italic;}
  • (A) color: red, text-decoration: underline works
  • (B) only font-style: italic works
  • (C) color: red, text-decoration: underline and font-style: italic all works
  • (D) text-decoration: underline and font-style: italic works
πŸ’¬ Discuss
βœ… Correct Answer: (B) only font-style: italic works

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
78257
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
82%
Success Rate