Lists

Lists

  • 3 different types of lists:

    • Unordered - lists start with a bullet point by default
    • Ordered - numbered lists
    • Definition - set of terms along with definition of those terms (not used often)
  • Both unordered and ordered lists contain list items

    • list items elements are the items within list, they use opening and closing tag

    • list item elements are indented by default

    • list items elements are always a child a list element (in this case the “unordered list” or ul element.

Unordered List

Example of an unordered list

JS Bin on jsbin.com


Ordered List

Example of an ordered list

JS Bin on jsbin.com


Definition List

Example of a definition list

JS Bin on jsbin.com