Question: 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>
A
B
C
D
E
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.
E
Invalid because a <ul> tag should not conflict with an <ol> tag at the same list level.
Note: Not available