Headings

9/30/99

Since most HTML documents are used to communicate text-based information, HTML provides a specialized mechanism for identifying subject headings. Headings are defined in the HTML code as <HX>, where X equals a number from 1 to 6. <H1> is the largest heading and <H6> is the smallest headings. Because headings are block-level elements, a carriage return/line feed (a blank line) follows all headings. The following examples show each of the heading sizes. Note that heading tags must be closed and the first three sizes <H1> to <H3> are automatically picked up by automated search engines.


This is an example of an <H1> heading.

This is an example of an <H2> heading.

This is an example of an <H3> heading.

This is an example of an <H4> heading.

This is an example of an <H5> heading.
This is an example of an <H6> heading.