How to control the padding?

Padding adds space between an element’s contents and its border. The padding properties are listed in the following table:

Property Description Values
padding-top top padding length or %
padding-right right padding length or %
padding-bottom bottom padding length or %
padding-left left padding length> or %
padding This shorthand property sets the padding for all edges. length or %
The padding percentage values is always derived from the width of the containing block.

        HyperText Markup Language (HTML)
        is the main markup language for
        displaying web pages.
    


    
        HyperText Markup Language (HTML)
        is the main markup language for
        displaying web pages.