Block-and-Inline Flashcards
1
Q
How do block-level elements affect the document flow?
A
block level elements will start on a new line and will take up the entire row even if its not needed.
2
Q
How do inline elements affect the document flow?
A
it only takes up the necessary space needed. for example if a span element is added in the middle of a sentence, it will only take up the amount of space defined and then continue on.
3
Q
What are the default width and height of a block-level element?
A
4
Q
What are the default width and height of an inline element?
A