Ordered and Unordered Lists

Ordered and unordered lists (ol and ul, respectively) are block-level elements comprised of list items (li).

ordered list, a block-level element similar to ul with the difference being an emphasis on order, like numerical order or alphabetical order.
unordered list, a block-level element similar to ol, but with no emphasis on order.
list item, a block-level element.

Unordered list

Here is a list of common fruit. Since there is no ranking or chronological order for the list items, it makes sense for this to be an unordered list.

  • watermelon
  • banana
  • apple
  • orange
  • strawberry
  • pear
  • grape
  • pineapple
  • fig
  • kiwi
  • mango
  • coconut
HTML Syntax

Continue reading