Margin is a outer space of an element but padding is the inner space of an element. In other words we can say margin is the space outside of an element's border but padding is the space inside of its border.

BY Best Interview Question ON 13 Jan 2019

Suggest An Answer