How to create nested ordered list in HTML?


Diplo MK Mike

<ol> // Normal Ordered List Start //

      <li><a href="#">Ordered List 1</a></li> // Anchor tag use for url //

      <li><a href="#">Ordered List 2</a></li>

     <li><a href="#">Ordered List 3</a></li>


            <ol> // Nested Ordered List Start //

                 <li><a href="#">Nested Ordered List 1</a></li>

                 <li><a href="#">Nested Ordered List 2</a></li>

                 <li><a href="#">Nested Ordered List 3</a></li>

            </ol>  // Nested Ordered List Close //


</ol>  // Normal Ordered List Close //

1 votes

Your Answer

Email Us:

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)