Block elements stack vertically:

Block one
Block two
Block three

Inline elements flow horizontally:

Span one Span two Span three

Inline-block elements: side by side, but can have width/height:

Expected: three stacked divs, then three inline spans on one line, then three colored squares side by side.

Back to index