HTML XHTML List Tutorials

There are 3 types of lists supported in HTML: ordered, un-ordered and definition

How to create an ordered number list

The code below shows you how to create an ordered number list.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>Web Development Tutorials.com</title>
</head>
<body>
<ol>
<li>
Web</li>
<li>
Development</li>
<li>
Tutorials.com</li>
</ol>

</body>
</html>

The above code creates the ordered number list below.

  1. Web
  2. Development
  3. Tutorials.com

Use the text editor below to practice what you have learned.

Host Unlimited Domains on 1 Account