html-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.

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 will continue on the same line as neighboring elements.

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

Block-level elements will take up all the horizontal space (width) and as much vertical space (height) as text content.

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

Inline elements will take up only as much width and height of the text content (as much width and height necessary).

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