In this session we will talk about box model in HTML and box sizing in CSS. Every single element element in HTML can be seen as a box, a box will have margin, border, padding and content which makes up a box model. Every element you see here is surrounded by these boxes.
Box sizing is how a box is sized based on two types;
- Content Box
- Border Box