Section Headings



HTML allows for six levels of headings, marked by the element names H1, H2... H6. There is no forced hierarchy in these headings, but for consistency you should use the top level <H1> for main headings, and lower levels for progressively less important ones.

In general hypertext documents should be broken up so that each page does not occupy much more than a single screen. In these cases you can use the <H1> heading to mark the main document heading, and the others to mark subheadings.

Headings should not be used to control font size!

Heading Alignment: The ALIGN Attribute

HTML 3 proposed an ALIGN attribute to the heading element, which allows an author to "hint" at the desired alignment of the heading on the display.

The possible values are: