In a literal definition, you use div to separate layout chunks, nothing more. But precisely because it functions as other block-level elements, only without a meaning-laden name like "h2" or "blockquote", it's open for you to use it as you see fit. So people end up using it for far more things than any one person could hope to describe to you. Which is why Dreamweaver uses it: it's generic; any time they want a style change, they probably output a closing and new opening div tag.

So div is what you use for all the styles you create yourself, that are not actually HTML codes?


The point I'm trying to make is that div is an HTML code, and for the most part functions like any other block-level element. You just don't have to override the semantic momentum. :) So understand you can "create styles yourself" with any element.