
Information
The Basics
Text
Pictures
Spacing
Colors
Links
Alignment
Lists/Bullets
Tables
Frames
Multimedia
Forms
ISO Characters
Meta Tags
Contact Us

Email Support
Email Contact
|
 |
 |
Introduction
Headers are a great way of organizing your page so it looks nice, neat, and easy to navigate. In this section, you will
learn how to add and use headers.
Header Information
There are six types of headers.
The tag for a header is <H#>. The starting tag is <H#> and the closing tag is </H#>. Replace
# with the number for the type of header you want. Below, each header is explained.
Level 1 Header
The tag for this header is <H1>. The starting tag is <H1> and the closing tag is </H1>. This header is used
at the top of pages to title the page. Here is an example using the Level 1 Header.
|
index.html - Notepad |
....<BODY>
<H1> Hello World! </H1>
</BODY>....
|
|
|
My Homepage - Microsoft Internet Explorer |
Hello World!
|
|
Level 2 Header
The tag for this header is <H2>. The starting tag is <H2> and the closing tag is </H2>. This header is used
to separate secondary parts of the page. Here is an example using the Level 2 Header.
|
index.html - Notepad |
....<BODY>
<H2> Hello World! </H2>
</BODY>....
|
|
|
My Homepage - Microsoft Internet Explorer |
Hello World!
|
|
Level 3 Header
The tag for this header is <H3>. The starting tag is <H3> and the closing tag is </H3>.
Here is an example using the Level 3 Header.
|
index.html - Notepad |
....<BODY>
<H3> Hello World! </H3>
</BODY>....
|
|
|
My Homepage - Microsoft Internet Explorer |
Hello World!
|
|
Level 4 Header
The tag for this header is <H4>. The starting tag is <H4> and the closing tag is </H4>.
Here is an example using the Level 4 Header.
|
index.html - Notepad |
....<BODY>
<H4> Hello World! </H4>
</BODY>....
|
|
|
My Homepage - Microsoft Internet Explorer |
Hello World!
|
|
Level 5 Header
The tag for this header is <H5>. The starting tag is <H5> and the closing tag is </H5>.
Here is an example using the Level 5 Header.
|
index.html - Notepad |
....<BODY>
<H5> Hello World! </H5>
</BODY>....
|
|
|
My Homepage - Microsoft Internet Explorer |
Hello World!
|
|
Level 6 Header
The tag for this header is <H6>. The starting tag is <H6> and the closing tag is </H6>.
Here is an example using the Level 6 Header.
|
index.html - Notepad |
....<BODY>
<H6> Hello World! </H6>
</BODY>....
|
|
|
My Homepage - Microsoft Internet Explorer |
Hello World!
|
|
Test Your HTML
|
|