Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color:#E7E9EB;
}
#myDIV {
  height:300px;
  background-color:#FFFFFF;
}
.bluediv {
  width:200px;
  background-color:lightblue;
  margin-bottom: 10px;
}
.reddiv {
  width:200px;
  background-color:coral;
}
</style>
</head>
<body>
<h1>The margin-bottom property</h1>
<div id="myDIV">
    <div class="bluediv">
    See this blue div element with different margin values.
    </div>
    <div class="reddiv">
    We inserted a red div here, to see the bottom margins of the blue div.
    </div>
</div>
</body>
</html>