Next / Previous / Index / TCC Help System / Publications / Site map / NM Tech homepage

Numbered lists in HTML

Tech Computer Center logo

The <ol>...</ol> construct is used to set up numbered lists of items. Here is an example:

  1. Soak one cup of dried garbanzos overnight in 5 cups of water.
  2. Bring to a boil in the soaking water.
  3. Cook for one hour or until tender.

Here is the general form:

  <ol><li>text1<li>text2...</ol>
For example, the above example might look like this in source form:
<ol>
  <li>Soak one cup of dried garbanzos overnight in
     five cups of water.
  <li>Bring to a boil in the soaking water.
  <li>Cook for one hour or until tender.
</ol>

Next: Building definition lists in HTML
See also: Formatting paragraphs and lists in HTML
Previous: Bullet lists in HTML
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Computer Center: Help System
TCC Publications
Home: About New Mexico Tech

John Shipman, john@nmt.edu

Last updated: 1995/12/19 18:39:54 UT
URL: http://www.nmt.edu/tcc/help/html/ol.html