HTML Block and Inline Flashcards
1
Q
How do block-level elements affect the document flow?
A
they begin on new lines
2
Q
How do inline elements affect the document flow?
A
Inline elements are those which only occupy the space bounded by the tags defining the element, instead of breaking the flow of the content.
3
Q
What are the default width and height of a block-level element?
A
it has the height of the content and it take up the full width avaiable
4
Q
What are the default width and height of an inline element?
A
the height and width of the content