A div is a block-level element. This div has padding of 1em and a margin of 1em. It is taking up the full width of the containing element (.wrapper).


This div is displaying as an inline element.
This div is also displaying as an inline element.


This paragraph contains a link that displays as an inline element. This is the default for links.

This paragraph contains a link that is set to display as block-level using CSS.

This paragraph contains a link that displays as an inline block element. This means that I can give it a width.