ol
I. Description
The HTML <ol>
element
stands for 'ordered list'. The <ol>
element is used whenever you want
to create a numbered list. Instead of numbers the list can be ordered
using uppercase letters, lowercase letters, or roman numerals.
See also the 'unordered list'
(<ul>
) element.
II. Examples
<!DOCTYPE html>
<html>
<head>
<title>Example Page</title>
</head>
<body>
<h1>Example HTML Page</h1>
<p>Below is a simple example of an ordered list.</p>
<h2>Cars</h2>
<ol>
<li>Ford</li>
<li>Lincoln</li>
<li>GMC</li>
<li>Tesla</li>
</ol>
</body>
</html>