Margins and Padding, explained

Margins and Padding are the spaces between the elements such as the div tags and the contents(text/images) in your web pages. To a degree they are similar in managing the white spaces between the elements and the content but they do serve a different