Question 02 of 05

CSS Box Model

Create a page demonstrating the CSS box model with margins, borders, and padding.

C++
<!DOCTYPE html>
<html>
<head>
<style>
    .box {
        width: 200px;
        padding: 20px;
        border: 2px solid black;
        margin: 30px;
        background-color: lightblue;
    }
</style>
</head>
<body>
    <div class="box">This is a box model example.</div>
</body>
</html>
Question 2 of 5