Horje
How to create Ordered HTML List

An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.


Full Example of Ordered HTML List

The list items will be marked with numbers by default:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h2>An ordered HTML list</h2>

<ol>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>  

</body>
</html>

Output should be:

Full Example of Ordered HTML List





Category:
Web Tutorial
Sub Category:
HTML Lists
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference