Nesting Lists

Nesting Lists

Lists can be nested within other lists like unordered list in a ordered list with separate points corresponding to one of the list items as shown

HTML code

<p>Main cities of BRIC countries</p>

<ol type =”1″>

<li>

India

<ul type =”square”>

<li>Delhi</li>

<li>Mumbai</li>

</ul>

</li>

<li>

China

<ul type =”circle”>

<li>Beijing</li>

<li>Shenzen</li>

</ul>

</li>

</ol>

Browser output

Nesting Lists

Definition Lists
Site structure

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?