Computer Group 3
Computer Group 3
Model
LESSON 3
Group 3
Box Model
In HTML, elements can be considered as boxes. In CSS, the term box model refers to the design and
layout.
The CSS box model is a box that wraps every HTML element. It consists of the following parts.
Padding-top: 10px;
Padding-right: 10px;
Padding-bottom: 10px;
Padding-left: 10px;
Let us recap!
Box model- refers to the design and layout.
<div>- tag defines a section in HTML and groups back
elements to CSS.
Border-width- sets the color of the border.
Border styles- can be dotted, dashed, solid, double,
groove, ridge, inset, and outset
Margin- defines the space around elements.
Padding- defines the space between the border and
the concert.
Thank you
very much!