html-lists Flashcards

1
Q

What is the difference between an ordered list and an unordered list in HTML?

A

An ordered list is a numbered list or any list that requires an order such as a recipe. An unordered list uses bullet points where the order does not matter such as a grocery list.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Is an HTML list a block element or an inline element?

A

An HTML list is a block element because it takes up the full width of the parent container. The list items within the ordered/unordered list have their own blocks as well.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly