<!DOCTYPE html>
<html>
<head>
<style>
p.ex1 {
margin-right: 4cm;
}
</style>
</head>
<body>
<p>A paragraph with no margins specified. A paragraph with no margins specified. A paragraph with no margins specified.</p>
<p class="ex1">A paragraph with a 4cm right margin. A paragraph with a 4cm right margin. A paragraph with a 4cm right margin.</p>
<p>A paragraph with no margins specified. A paragraph with no margins specified. A paragraph with no margins specified.</p>
</body>
</html>