TOP CATEGORIES

×

How to create nested ordered list in HTML?

D

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>

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

      <li>

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

1 votes

Your Answer

Email: advertise@gdatamart.com

Donate: To Support US

© 2024 GDATAMART.COM (All Rights Reserved)