How to create an ordered list in HTML?

HTMLWeb DevelopmentFront End Technology

To create ordered list in HTML, use the <ol> tag. Ordered list starts with the <ol> tag. The list item starts with the <li> tag and will be marked as numbers, letters and roman numbers. The default is numbers.


You can try to run the following code to use an ordered list in HTML −

Live Demo

<!DOCTYPE html>
      <h1>Developed Countries</h1>
      <p>The list of developed countries :</p>
         <li>New Zealand</li>
Updated on 16-Jun-2020 13:33:28