padding-left

The padding-left CSS property of an element sets the padding space required on the left side of an element. The padding area is the space between the content of the element and it’s border. A negative value is not allowed.

Example

<!DOCTYPE html>
<html>
    <head>
        <style>
            .p1 {
                padding-left:20px;
            } .p2 {
                padding-left: 40px; /* on all sides 10px padding */
            }
        </style>
    </head>
    <body>
        <p class="p1">
            The quick brown red fox jumps over the lazy dog
        </p>
        <p class="p2">
            The quick brown red fox jumps over the lazy dog
        </p>
    </body>
</html>