0
What is difference between padding and margin ?
Let me help to understand the padding and margin
4 Answers
+ 2
an html element is a block of text, with internal spacing (padding: inner margin, from border to text)
and external spacing (margin: outer spacing around borders)
+ 2
Padding is distance of inner text or elements from the wall of container
And margin is the distance of container from its parent element
+ 2
Ok got it, visph and äžčâšă©Ú©ć»Ÿ , thank you very much bro