List: Ordered

An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.The list items will be marked with numbers:

HTML file: Displayed by browser:
<body>
  <ol>
    <li>Coffee</li>
    <li>Tea</li>
    <li>Milk</li>
  </ol>
</body>
  1. Coffee
  2. Tea
  3. Milk

Back button Table of Contents Next button