Divisions

Divisions are used to break a page into sections containing other HTML elements, such as headings, images, paragraphs and lists.

A typical page will have divisions for the:

  • page header
  • navigation bar
  • page content
  • page footer

Each division will often have a unique identifier – this can be used to format each division separately.

<div id="header">
    ##########
</div>

<div id="nav">
    ##########
</div>

<div id="content">
    ##########
</div>