Lesson 3: List Tags
(Ordered List Example)

You use the ordered list tag "<ol>" to make numbered lists. Each item begins with a list item tag "<li>". A closing list tag is optional for HTML but required for XHTML. If you add or delete items, the browser renumbers your list when your page is refreshed.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Welcome to HTML</title>
</head>
<body bgcolor="#bdbdbd" text="black">
<br />
<h2>Directions for a WetNap<sub>&reg;</sub></h2>

<ol>
<li>Tear open packet</li>
<li>Unfold</li>
<li>Use</li>
</ol>
</body>

</html>