html-block-and-inline Flashcards

1
Q

How do block-level elements affect the document flow?

A

The blocklevel element occupies the flow horrizontly

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

inline elements stay within the tags that are assigned and do not break the document flow.

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

It stretches 100% wide and takes on the height of its inner 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 height of an inline lement depends on the content that’s assigned.

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