Difference between revisions of "Div"

From Market Ruler Help
Jump to: navigation, search
(Created page with 'A '''div''' is an HTML element which is used to create a division or section within a document. The '''div''' tag is often used to group block-elements to format them with s…')
 
(No difference)

Latest revision as of 04:04, 23 February 2011

A div is an HTML element which is used to create a division or section within a document.

The div tag is often used to group block-elements to format them with styles. It can also be used to identify particular sections of a page when assigned an ID attribute.

Examples

<div id="nav">...</div>
<div class="container left">...</div>

See also