This is a content-box element.
Width: 300px + 40px (padding) + 10px (border) = 350px
Height: 200px + 40px (padding) + 10px (border) = 250px
This is a border-box element.
Width: 300px (including padding and border)
Height: 200px (including padding and border)
This is a paragraph with an inline element inside. Inline elements only take up as much width as necessary and allow other elements next to them.
The box model consists of: