HTML-block-and-inline-Q&A Flashcards
1
Q
How do block-level elements affect the document flow?
A
Some elements will always appear to start on a new line in the browser window. These are known as block level elements.
2
Q
How do inline elements affect the document flow?
A
Some elements will always appear to continue on the same line as their neighbouring elements. These are known as inline elements.
3
Q
What are the default width and height of a block-level element?
A
The default height is as large as its content, while its default width will always be the full width of the page.
4
Q
What are the default width and height of an inline element?
A
The default width and height are as large as its content.