Lists
Lists require two different types of tags: the opening tag which indicates if the list is ordered (<ol></ol>) or unordered (<ul></ul>), and a list item tag for each entry in the list (<li></li>).
Ordered Lists
Ordered lists are numbered lists and must be surrounded by <ol></ol> tags. Use ordered lists when describing things in sequence or importance.
- Item 1
- Item 2
- Item 3
- Item 4
The code for list above looks like this:
Unordered Lists
Unordered lists are bulleted lists and must be surrounded by <ul></ul> tags. Use unordered lists when the order of the items doesn't matter.
- Item 1
- Item 2
- Item 3
- Item 4
The code for list above looks like this: