html-block-and-inline Flashcards

1
Q

How do block-level elements affect the document flow?

A

They always appear to start on a new line in the browser window

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 always appear to continue on the same line as their 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

Takes up the entire width of the parent container and the height of the content bounded by the text

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

Takes up only as much space as needed on the line based on the content. (Size cannot be changed for inline elements)

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