HSE banner

Ordered lists

Numbered lists, an example

  1. first item on the list
  2. second item on the list
Ordered lists are acceptable in the HSE web standard. However, in a large page with outline numbering, it is preferable to use numbered paragraphs in preference to ordered lists.

1. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

The decision is ultimately left with the designer.

List type

There is no reccomendation for the choice of list type that you use.

There are 3 types of ordered list available:

ordered list types
default a,b,c i, ii,iii
  1. item one
  2. item two
  3. item three
  1. item one
  2. item two
  3. item three
  1. item one
  2. item two
  3. item three

The default ordered list just uses basic styling ie <ol><li>item one</li>. To convert a basic number list into an alpha or latin list simply requires the addition of a class to the <ol> tag, for example: use <ol class="a"> to make an a, b, c list or use <ol class="i"> to make an i, ii, iii list.

XHTML strict & validation

Under XHTML it is not possible to use either the type or start attribute in list tags. The following is not valid <ol start="42"> neither is <ol type="a">.