HTML Block and Inline Flashcards

1
Q

How do block-level elements affect the document flow?

A

They start 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

They continue on the same line

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

expands to a width of 100% of its container and height to what ever it needs to have

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

occupy the space bounded by the tags defining the element

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