Cycle 02
Lab Cycle 2 — CSS Styling
CSS Box Model
Problem Statement
Create a page demonstrating the CSS box model with margins, borders, and padding.
<!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