Skip to content
Related Articles

Related Articles

How to create an ordered list using HTML5 ?

View Discussion
Improve Article
Save Article
  • Last Updated : 03 Jun, 2020

In this article, we define an ordered list by using the <ol> tag in the document, This tag is used for ordered list, an ordered list can be numerical or alphabetical. Inside the <ol> tag you have to make a list li of items that will follow the order.




<!DOCTYPE html>
        Define an ordered list?
    <h1 style="color:green;">
        HTML5: How to define 
        an ordered list?
    <p>reversed attribute</p>
    <ol reversed>
    <p>start attribute</p>
    <ol start=5>
    <p>type attribute</p>
    <ol type="i">


Supported Browsers:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!