html-block-and-inline Flashcards
1
Q
How do block-level elements affect the document flow?
A
The blocklevel element occupies the flow horrizontly
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.
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.
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.