Lists Flashcards
what are the three types of lists in HTML?
ordered list/ unordered list/definition list
what element do we use to create an ordered list?
(ol) (/ol)
what do we call an item in a list in HTML and what is the correct markup for it?
a list item (li) (/li)
what element do we use to create an unordered list?
(ul) (/ul)
what element do we use to create a definition list?
(dl) (/dl)
what element do we use to contain the term of a definition list?
(dt) (/dt)
what element do we use to create a definition in a definition list?
(dd) (/dd)
what is the difference between an ordered list, unordered list and definition list?
ordered lists create a list in order starting with the number 1 and continues depending on how many list items there are.
an unordered list create a list with no order and uses bullet points.
a definition list creates a list of items to be defined.
what is a nested list?
a nested list is a list within another list