HTML Block and Inline Flashcards

1
Q

How do block-level elements affect the document flow?

A

A. They start 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 stay within the tags of where the inline element is

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

A.takes up the entire horizontal space of its parent element
and vertical space equal to the height of its contents,
thereby creating a “block”.

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

A. the width and height is determined by the tags defining the element

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