Home
> HTML Questions
> Difference between Padding and Margin in html and Css
Difference between Padding and Margin in html and Css?
Answer:
Margin is the outer space of an element, while padding is the inner space of an element. In other words, margin is the space outside of an element's border, while padding is the space inside of its border