Box Model Example -- Source Code

HTML Page -- index.htm

 <!DOCTYPE html>

<!-- BoxModel Example
     Source code file: boxmodel.htm
     Show how to set the padding, 
     border, and margin for an HTML
     element.                     -->

<html lang="en">
    <head>
        <style>
        h1 { color: blue;
             padding: 100px;
             border: 50px solid red;
             margin: 100px; }
        </style>
    </head>

    <body>
        <h1 id="header">Test Header</h1>
    </body>
</html>