html-block-and-inline Flashcards
1
Q
How do block-level elements affect the document flow?
A
Block level elements are self-contained and takes up the entire width
2
Q
How do inline elements affect the document flow?
A
Inline elements occupies space in the place they’re placed; only takes up the space that is required.
3
Q
What are the default width and height of a block-level element?
A
Width: entire width of page, Height: just the amount for text with built in margins on top and bottom.
4
Q
What are the default width and height of an inline element?
A
The space that is required.