Headings and Header Tags

HTML has six levels of headings, numbered 1 through 6, with 1 being the most prominent. Headings are displayed in larger and/or bolder fonts than normal body text. The first heading in each document should be tagged <h1>.

The syntax of the heading element is:
<hy>text of heading</hy>
where y is a number between 1 and 6 specifying the level of the heading.

Do not skip levels of headings in your document. For example, don't start with a level-one heading (<H1>) and then next use a level-three (<H3>) heading.

Example:

<h1>

Header Size 1

<h2>

Header Size 2

<h3>

Header Size 3

<h4>

Header Size 4

<h5>
Header Size 5
<h6>
Header Size 6


1 2 3 4 5 6 7 8 9 10 11 12 13 14

Back to the Lessons Index Page