HTML5 University

Lists

Lists are a great way of organizing a large collection of information. This can be accomplished in several ways:


Unordered Lists

The following organizes list items into an unordered list:



<ul>
<li>Item #1</li>
<li>Item #2</li>
<li>Item #3</li>
</ul>

which would result in:


Ordered Lists

The following organizes list items into an Ordered (or numbered) list:



<ol>
<li>Item #1</li>
<li>Item #2</li>
<li>Item #3</li>
</ol>

which would result in:

  1. Item #1
  2. Item #2
  3. Item #3