The content area is the inner rectangle of an element’s box. It contains the element’s text, image, or other page content. section 4.2.3
Understand its position within the CSS box model:
- Padding adds whitespace between the content area and the border. section 4.2.3
- The border surrounds the content and padding. section 4.2.3
- Margin adds whitespace outside the border. section 4.2.3
Reading an element box
For a header containing a logo and title, the logo and title occupy the content area; padding gives them breathing room, while the border and margin sit farther outward. section 4.2.3
Figure 4.4 The main parts of an element box
Use the diagram to see how the content area fits inside padding, border, and margin. section 4.2.3

