HTML Block & Inline Flashcards

1
Q

How do block-level elements affect the document flow?

A

They start on a new line and take up the entire width of the page

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 only affect the text it’s selected.

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 is whole page. height is dependent on the 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

The width and height of the content

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