<html>
<head>
<title>Extenal style sheet</title>
<style type="text/css">
.ma{
border-width: 3px;
border-style: solid;
border-color:red;
margin: 10px;
width:200px;
}
.ma1{
border-width: 3px;
border-style: solid;
border-color:green;
margin: 1px;
width:130px;
}
.ma2{
border-width: 3px;
border-style: solid;
border-color:orange;
margin: 10px 70px;
width:180px;
}
.ma3{
border-width: 3px;
border-style: solid;
border-color: maroon;
margin: 4px 10px;
margin: 3px 6px 10px 30px;
width:170px;
}
.ma4{
margin-left: 20px;
border: 5px double orange;
width:120px;
}
</style>
</head>
<body>
<p> <h2>The example of margin property</h2></p>
<p class="ma"> It sets 10px margin to all side</p>
<p class="ma1"> It sets auto margin</p>
<p class="ma2">It set right and left margin</p>
<p class="ma3"> This sets all four margin</p>
<p class="ma4">margin left 20 px</p>
</body>
</html>