<html>
<head>
<style>
p.ex1 {
border: 1px solid red;
padding-left: 2em;
}
</style>
</head>
<body>
<h1>The padding-left Property</h1>
<p class="ex1">A paragraph with a 2 em left padding. The em unit is relative to the font-size of the element (2em means 2 times the size of the current font).</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_padding-left3 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:01:21 GMT -->
</html>