Can anyone give me the difference between div and span tags?
解决方案
a div is a block level, meaning it's on its own separate line. a span is inline, so it's a child of another block level element.
blah foo
^ I can have multiple spans inside a block-level. They all show up on the same line.
foo
blah
^ These divs will be on separate lines.
With CSS though, you can easily override the styles for span and block levels, but that shouldn't have any bearing on your initial markup and structure.