html-lists Flashcards

1
Q

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

A

Ordered list ( <ol> ) lists items with an increasing number per item. i.e. 1. item 1, 2. item 2.

Unordered list ( <ul> ) list items with a bullet point in front of each item.

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

Block

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