html-block-and-inline Flashcards

1
Q

How do block-level elements affect the document flow?

A

Block level elements are self-contained and takes up the entire width

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

How do inline elements affect the document flow?

A

Inline elements occupies space in the place they’re placed; only takes up the space that is required.

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

What are the default width and height of a block-level element?

A

Width: entire width of page, Height: just the amount for text with built in margins on top and bottom.

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

What are the default width and height of an inline element?

A

The space that is required.

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