OL <ol> Tag

by Jai 04-Aug-19

0 300


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 unordered list, we apply the <ul> tag. You can give it a style using css.

Program:

<!DOCTYPE html>
<html>
<head>
   <meta charset="utf-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <title>OL Tag </title>
</head>
<body>
<h2>Example of OL tag</h2>
 <ol>
 <li>HTML</li> 
 <li>CSS3</li>
 <li>PHP</li>
 <li>Jqery</li>
 <li>Java</li>
 <li>JavaScript</li>
 <li>SQL</li>
</ol>
</body>
</body>
</html>

Output:

OL <ol> Tag


Share:


Comments

    Waiting for your comments

Leave a Reply