
phpdreams |
A div is a block-level tag where a span is an inline tag. Essentially, a div would be a section of HTML with a newline both before and after it. Where a span would just cover a portion of a line of text just as em, I, or strong would.
Now, that said, you *can* alter the functionality of each via CSS, but that's a bit beside the point.
Sources:
Friday, 9th October 2009
| Votes: |
|
27 |
|
23 |
|