Answers for "margin or padding if both works"

CSS
1

What is difference between padding and margin?

Margin is said to be the outer space of an element,
the margin is the space outside of the element's border. 
Padding is said to be the inner space of an element, 
the padding is the space inside of the element's border.
Posted by: Guest on October-13-2021

Browse Popular Code Answers by Language