Examples of the Box Model

HTML elements display as boxes on web pages. This div element is configured to have a light blue background. The browser default padding (none), and a black 5 pixel border. The empty space where the page background shows through between this element and the element above is an example of the margin.