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

HTML OL <ol> Tag

3039

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.

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:




Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments