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 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. 

+ Answer
+ Report
Total Preview: 916

Copyright © 2025. Powered by Intellect Software Ltd