Margin is outside of a box between the border and browser window, while padding is inside the box between content and border.

Box model is CSS's design of all HTML elements, essentially every element is wrapped around a box, and is distinguished between content, padding, border, and margin.

"em" is suprior to "px" when setting font sizes because "em" allows user to change the font size when browsing while "px" sets absolute font sizes.

In this example:

h1 {margin : 10px 0px 15px 5px;}

The margins are:
margin-top: 10px
margin-right: 0px
margin-left: 5px
margin-bottom: 15px