<!DOCTYPE html>
<title>Example</title>
<style>
.outer {
border: solid;
width: 280px;
}
.inner {
background: gold;
margin: 40px;
</style>
<div class="outer">
<div class="inner">This text has a margin of 40 pixels on all four sides. It is nested within a 'div' with a border to make it easier to see the effect of the margin.</div>
</div>