HTML provides a number of ways to create lists of items. These include bulleted lists, numbered lists and definition lists. Lists can also be nested.
| HTML Code | Result |
Unordered List (ul) Example
- This is the first item
- This is the second item
- This is the last item
|
Unordered List (ul) Example
- This is the first item
- This is the second item
- This is the last item
|
Ordered List (ol) Example
- This will be item 1
- This will be item 2
- This will be item 3
|
Ordered List (ol) Example
- This will be item 1
- This will be item 2
- This will be item 3
|
Definition List (dl) Example
- dt
- definition term
- dd
- definition definition
|
Definition List (dl) Example
- dt
- definition term
- dd
- definition definition
|