Computer Applications

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

HTML Intro

13 Likes

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>

Answered By

7 Likes


Related Questions