Welcome! Every day you'll see a new development quiz here to challenge your skills. Check back daily to test yourself and learn something new!
This quiz is generated daily by AI
π‘ intermediate β’ π·οΈ css display β’ π
20260401
π‘ Show Answer
A block-level element
takes up the full width of its parent
and starts on a new line.
An inline-block element
is displayed next to other elements
and takes up only the width
of its content.
It does not start on a new line.
In general, block-level elements are used for layouts
that require a new line, while inline-block elements
are used for text and other inline content.




