Edit This Code:
<!DOCTYPE html>
<html>
<head>
<style>
p.ex1 {
    margin: 2cm 4cm 3cm 4cm;
}


</style>
</head>
<body>

<p>A paragraph with no specified margins.</p>
<p class="ex1">A paragraph with specified margins.</p>
<p>A paragraph with no specified margins.</p>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy