Imagine a decorated fence.
Boxifying design is a method of understanding a design mock to more easily create the webpage. The programmer draws boxes around each thing on the design mock where each thing will respresent one element in the HTML code.
The box model is applicable to (probably) all HTML elements. The box model consists of 4 different components which can each be styled individually. Every element can have margins
keeping it away from other elements, a border
, padding
between the border and the actual content
.