Web Development HTML/CSS Objective
Mar 22, 2013

Is the following code valid in HTML 4.01 Strict?

<ul> <li> <ol> <li>A</li> <li>B</li> <ul> <li>Item 1</li> <li>Item 2</li> </ul> <li>C</li> </ol> </li> </ul>

Choose the correct answer:
A) Perfectly valid.
B) Invalid because you should not have three levels of nesting in the lists.
C) Invalid because you should not have an unordered list within an ordered list.
D) Invalid because you should not have an ordered list within an unordered list.
Detailed Explanation

Option E is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback