|
The first type of list is the unnumbered, bullet, type
<ul>
<li>Firstly
<li>Secondly
<li>Lastly
</ul>
|
|
Lists can also be numbered
<ol>
<li>Firstly
<li>Secondly
<li>Lastly
</ol>
|
- Firstly
- Secondly
- Lastly
|
Then there is the definition list
<dl>
<dt>England
<dd>Varied landscape
<dt>Scotland
<dd>Mountainous, North of England
<dt>Wales
<dd>Also Mountainous, West of England
</dl>
|
- England
- Varied landscape
- Scotland
- Mountainous, North of England
- Wales
- Also Mountainous, West of England
|
Lists can be many levels deep, the unnumbered list automatically changes its bullet at each level
<ul>
<li>Level 1
<ul>
<li>Level 2
<ul>
<li>Level 3
</ul>
</ul>
</ul>
|
|
This is not the case with the ordered list
<ol>
<li>Level 1
<ol>
<li>Level 2
<ol>
<li>Level 3
</ol>
</ol>
</ol>
|
- Level 1
- Level 2
- Level 3
|
Different list types can be combined
<dl>
<dt>A Title
<dd>A Description
<ul>
<li>A Bulleted Comment
<ol>
<li>A Numbered Element
</ol>
<li>Another Bullet
</ul>
</dl>
|
- A Title
- A Description
- A Bulleted Comment
- A Numbered Element
- Another Bullet
|
|