To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Box Model example

This simple program is designed to show you how the box model of HTML/CSS works. When you change any of the three options you will be affecting the internal boxes.

Box content 1
Box content 2
Code previewClose