Skip to content

Glossary: HTML & CSS Basics

Box model

Also written: box

The way the browser treats every element as a rectangle made of four layers: content, padding, border and margin.

Where the book teaches it

Related terms

box-sizingMargin collapsingShorthandPadding, border and margin