html block and inline Flashcards

1
Q

How do block-level elements affect the document flow?

A

Starts new-line and sets size to take up the entire width of screen

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

Does not start new-line and only takes up as much space as it needs

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

Height would take up as much as the content needs. Width is whole screen.

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

Width takes up as much as content needs.

Height will take up as much as content needs.

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