Chapter 3.7. Lists

Following table lists all elements and attributes for creating lists. Only the elements and attributes listed below are known to be supported for interactive and print output. The last column gives hints on how the elements should be used. 
ElementSupported
attributes
Comment
ul
style
Creates an unordered list. See also the li element below.
The default marker-style depends on the nesting level. However, the default marker-style can be overwritten using the style attribute as specified by the CSS standard. For example, following list is rendered using a disc-marker:
<ul style="list-style-type:disc">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>
Supported marker styles are: none, circle, disc, square
ol
style
Creates an ordered list. See also the li element below.
By default ordered lists use arabic numbers as marker. However, the default marker-style can be overwritten using the style attribute as specified by the CSS standard. For example:
<ol style="list-style-type:upper-roman">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>
Supported marker styles are: none, decimal, lower-alpha, lower-greek, lower-latin, lower-roman, upper-alpha, upper-latin, upper-roman
li
value
Defines a list item for ordered/unordered lists. For ordered lists, the value attribute can be used to overwrite the marker value. For example, following list starts with marker value 4:
<ol>
  <li value="4">Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>
dl  
A definition-list. Example:
<dl>
  <dt>Coffee</dt>
  <dd>Black hot drink</dd>
  <dt>Milk</dt>
  <dd>White cold drink</dd>
</dl>
dt   Defines a term/name in a definition-list. See element dl.
dd   Contains the description in a definition-list. See element dl.
Nesting of lists
Lists can be nested. For example:
<ul>
    <li>Coffee</li>
    <li>Tea
        <ul>
            <li>Black tea</li>
            <li>Green tea</li>
        </ul>
    </li>
    <li>Milk</li>
</ul>