Horje

How to create HTML <ol> Tag

Here are Two different ordered lists (the first list starts at 1, and the second starts at 50).
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>
<h1>The ol element</h1>
<ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li>
</ol>
<ol start="50"> <li>Coffee</li> <li>Tea</li> <li>Milk</li>
</ol>
</body>
</html>

Output should be:

How to create HTML <ol> Tag




Type :
html
Category :
Web Tutorial
Sub Category :
HTML Tag
Uploaded by :
Admin