Search notes:

HTML: div vs. span

What sets the <div> tag most apart from the <span> tag is that the value of the display property for <div> is block while that value for <span> is inline.
This is to say: a <span> is a textual container, a <div> is a layout container.
It should be noted however that it is possible in CSS to override these property-values.

Index