>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
Match the descriptions to these box model terms: Content box, Padding, Border, Margin. | SWE Maxx
← Question bank
CSS and layout · Matching
Difficulty: Medium
Match the descriptions to these box model terms: Content box, Padding, Border, Margin.
Box model
Concept relationships
Choose a match for every item. Use each answer once.
A border surrounds the padded content and contributes to the element's box dimensions.
Choose a match
Margin
Border
Padding
Content box
Margins separate neighboring boxes and can participate in margin collapsing in normal block flow.
Choose a match
Margin
Border
Padding
Content box
The content box is surrounded by padding, borders, and margins in the box model.
Choose a match
Margin
Border
Padding
Content box
Padding adds internal space and is included inside the element's background painting area.
Choose a match
Margin
Border
Padding
Content box
Check answer
More in CSS and layout →