- Skip Navigation

Note: This message is displayed if (1) your browser is not standards-compliant or (2) you have you disabled CSS. Read our Policies for more information.

  • Business & Agriculture
  • Residents
  • Government
  • Education
  • Taxes & Finance
  • Visiting & Playing
  • Family & Health

Web CMS Training

State of Indiana

WebCMS Training > HTML Tutorial > Divisions Divisions

Divisions, or divs, <div></div> are sections of an HTML document.  Divs group block-elements and can be formatted with styles.  Where tables format data, divs are used to format the look of a HTML page.  Some style attributes do not work with div tags because of the predefined styles in the agency CSS.

<div style="margin:5px; width:150px; align:left">
  <h3> This is a header </h3>
  <p> This is a paragraph. </p>