Div tag <div>
A "div" tag defines a division in an HTML document. It is a block level element.
Divs are used most commonly to divide sections of content to be styled differently.
For example, you can make a div for your masthead (the top of the page), a div for your menu,
and a div for your actual page content. Then, with CSS, you can control how they're laid out
on the page as well control all it's properties and the properties of items within it.
[BACK to RESOURCES]