I would like to ask for some simple examples showing the uses of . I\'ve seen them both used to mark a section of a pa
As mentioned in other answers, by default div will be rendered as a block element, while span will be rendered inline within its context. But neither has any semantic value; they exist to allow you to apply styling and an identity to any given bit of content. Using styles, you can make a div act like a span and vice-versa.
One of the useful styles for div is inline-block
Examples:
http://dustwell.com/div-span-inline-block.html
CSS display: inline vs inline-block
I have used inline-block to a great success, in game web projects.