Display & Document Flow — Quiz

Answer all 5 questions, then submit. You need 60% to pass. Log in to save progress.

Question 1
A block element, by default…
A Sits in a line with text
B Starts on a new line and takes the full width
C Is always hidden
D Ignores margins
Question 2
Why does setting width on a <span> appear to do nothing?
A Spans are broken
B Inline elements ignore width and height
C You must use !important
D Width only works on images
Question 3
Which display value flows in a line but still accepts width and height?
A block
B inline
C inline-block
D none
Question 4
What's the difference between display: none and visibility: hidden?
A They are identical
B none removes the element and its space; hidden keeps the space
C hidden deletes the element from the file
D none only works on images
Question 5
Which display values turn an element into a layout container?
A block and inline
B flex and grid
C none and hidden
D text and image