Padding : Padding is used to define the space between the content and the border. (Inside Border)
Margin : Margin is the space outside the border. (Outside Border)
You can easily specify the different paddings and margins for the different sides of an element such as top, right, bottom or left side using the CSS individual padding and margin properties.