We may earn an affiliate commission when you visit our partners.

Box Model

Save
May 1, 2024 3 minute read

The Box Model is a fundamental concept in web development that describes the rectangular boxes that are used to represent elements on a web page. Each box has four properties: content, padding, border, and margin. The content property defines the actual content of the box, such as text or images. The padding property defines the space between the content and the border. The border property defines the border of the box. The margin property defines the space between the border and the edge of the containing element.

Why Learn About the Box Model?

Share

Help others find this page about Box Model: by sharing it with your friends and followers:

Reading list

We've selected six books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Box Model.
Concise and practical guide to the CSS Box Model. It's a great resource for anyone who wants to learn more about how the Box Model works and how to use it to create better web designs.
Comprehensive and in-depth guide to the Box Model. It's a great resource for anyone who wants to fully understand the Box Model and how to use it to create complex web designs.
Comprehensive guide to the Box Model by Rachel Andrew, a well-respected expert in web design. It's a great resource for anyone who wants to learn more about how the Box Model works and how to use it to create better web designs.
Comprehensive guide to the Box Model by Andy Clarke, a well-respected expert in web design. It's a great resource for anyone who wants to learn more about how the Box Model works and how to use it to create better web designs.
Is an advanced guide to the Box Model. It's a great resource for anyone who wants to learn more about the Box Model and how to use it to create complex web designs.
Comprehensive guide to the Box Model in CSS3. It's a great resource for anyone who wants to learn more about how the Box Model works in CSS3 and how to use it to create better web designs.
Table of Contents
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser