HTML Document Divisions

A division, div, element defines a generic document division. Divisions are block elements which can contain text and other elements. In its simplest form a div would be defined as

<div>
   ...
   Text
   Child Elements
   Text
   ...
</div>

The most commonly assigned attributes for div elements are

Positioning and floating divs are powerful techniques for creating user interfaces with features to rival those created by conventional executable applications. CSS properties which are particularly useful when styling divs are listed below:

Jump To...

Colophon