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

Q. Which of the following are the CSS Extension Prefixes for Webkit?

  • (A) -chrome
  • (B) -web
  • (C) -o-
  • (D) -webkit
πŸ’¬ Discuss
βœ… Correct Answer: (D) -webkit

Q. Which of the following is the correct syntax to link an external style sheet in the HTML file?

  • (A)
  • (B)
  • (C)