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