CBSE Class 10 Computer Applications Question 174 of 176

HTML I — Basic HTML Elements — Question 47

Back to all questions
47
Question

Question 35

How will you nest an unordered list inside an ordered list ?

Answer

We can nest an unordered list inside an ordered list in the following manner:

<OL> 
    <LI>Fruits
        <UL>
            <LI>Apples</LI>
            <LI>Grapes</LI>
            <LI>Bananas</LI>
        </UL>
    </LI>
    <LI>Vegetables
        <UL>
            <LI>Potatoes</LI>
            <LI>Cabbages</LI>
            <LI>Gourd</LI>
        </UL>
    </LI>
    <LI> Dairy Products
        <UL>
            <LI>Milk</LI>
            <LI>Curd</LI>
            <LI>Buttermilk</LI>
        </UL>
    </LI>
</OL>