C & G web

Example - Headings

There are six levels of heading, with ' h1 ' being the most important (hence the largest) and ' h6 ' being the smallest.

The optional ALIGN attribute controls the horizontal alignment of the header. It can be LEFT, CENTER or RIGHT. Notes:

  • Headers should be used in hierarchical order.
  • Do not assume that this header means "very large font size and bold." While this is a popular rendering, it can be anything the browser chooses.
  • Search engines may give words appearing in headers more importance in their index. The headers are also often used to build an "outline" of the document, which appears in the search results.
  • Right alignment is not as widely supported as centered.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
There are six levels of heading, with ' h1 ' being the most important (hence the largest) and ' h6 ' being the smallest.

The HTML

<h1>Heading 1</h1>

<h2>Heading 2</h2>

<h3>Heading 3</h3>

<h4>Heading 4</h4>

<h5>Heading 5</h5>

<h6>Heading 6</h6>

There are six levels of heading, with ' h1 ' being the most important
 (hence the largest) and ' h6 ' being the smallest.		
		

Previous page...

Back to Top of Page

Computeach International Ltd

Christopher Ward London Limited

Christopher Ward London Limited