<html>
<head>
<meta charset="utf-8">
<style>
p.ex1{padding:2em;}p.ex2{padding:0.5em 3em;}
</style>
</head>
<body>
<p class="ex1">This text has equal padding on each side. The padding on each side is 2em.</p>
<p class="ex2">This text has a top and bottom padding of 0.5em and a left and right padding of 3em.</p>
</body>
</html>