OL Tag in HTML || HTML OL Tag || Ordered Lists

HTML OL <ol> Tag

Last Updated by Jai 04-Aug-19

0 725

The <ol> tag is used for making an ordered list. An ordered list is made by using one or more <li> elements in between <ol> </ol> tags. It can be alphabetical or numerical.

For the unordered list, we apply the <ul> tag. You can give it a style using CSS.


<!DOCTYPE html>
   <meta charset="utf-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <title>OL Tag </title>
<h2>Example of OL tag</h2>


HTML OL <ol> Tag


Leave a Reply

    Waiting for your comments