<!DOCTYPE html>
<html>
<head>
<title>CSS margin-top Property</title>
<style>
div {
border: 1px solid orange;
}
p {
border: 1px solid #000;
}
.margin-1 {
margin-top: 40px;
}
</style>
</head>
<body>
<div>
<p class="margin-1">margin top 40px</p>
</div>
</body>
</html>