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
2
Q
How do inline elements affect the document flow?
A
They stay within the tags of where the inline element is
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”.
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