Basic Web Page Writing Step 4
Creating Headers
In step 3 you saw how to format the text into lines and paragraphs. In this step you will learn how to add Headers which are like Titles which you can use to highlight sections of your document and draw attention to various parts of your page.
This is a Header
You probably noticed that in the last step, many of the sections started with text that was larger then the rest of the page. These are called HEADERS and use the tags <H#> and </H#>. The # symbol represents a number from 1 to 6 which is called the level of the header and actually determines the size of the text used.
You can see an example of a HEADER at the top of this page. The two lines that read "Basic Web Page Writing Step 4 - Creating Headers" is one way a Header can appear on your page.
Headings are created in HTML by tagging a certain chunk of text inside header tags. The format is:
<H#> What You Want The Header To Say </H#>
Where the # symbol represents a number 1 to 6. A browser will recognize six levels of HEADERS!
"How Each Level of Header Will Look"
<H1>A Level 1 Header <H1>
A Level 1 Header
<H2>A Level 2 Header <H2>
A Level 2 Header
<H3>A Level 3 Header <H3>
A Level 3 Header
<H4>A Level 4 Header <H4>
A Level 4 Header
<H5>A Level 5 Header <H5>
A Level 5 Header
<H6>A Level 6 Header <H6>
A Level 6 Header
Try using these headers in your own page. Open your webpage.htm and try these out. If you forgot how to use the browser to view the page, return to Step 2 to review.
You now know how insert headers into your web page. In step 5 you will see how to center the headers and text.
STEP 5 -- Centering
created by Larry Curreri,
© 1996 l_curreri@yahoo.com
Visit My Home Page
last modified: January 14, 2002
This page hosted by
Get your own Free Home Page