ExamVeda
Login
Home
This question belongs to CSS Basic CSS
Basic CSS
?

What will happen in this case?
h1 {color: red text-decoration: underline; font-style: italic;}

Answer & Solution
Correct Answer: Option D
In this case, we should see the browser continue to parse the value of color as “red textdecoration: underline” before it sees a closing semicolon. The font-style property that follows would then be used. Because the color property has an illegal value, it should be ignored.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.