How to create nested ordered list in HTML?

LAST READ: APR 11 2024 | Q. BY: SUBHANKAR BASU

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 Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)