Block-and-Inline Flashcards

1
Q

How do block-level elements affect the document flow?

A

block level elements will start on a new line and will take up the entire row even if its not needed.

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

it only takes up the necessary space needed. for example if a span element is added in the middle of a sentence, it will only take up the amount of space defined and then continue on.

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
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly