The Key to Text Attributes


Headers

Each header-format level (or headline) has an open and close tag. The highest-level header-format is H1; the lowest (the smallest and least important subsection) is H6. The header codes have and open and a close tag. In this example N stands for a number from 1 to 6 identifying the heading size.

<hN>Text to Appear in Heading</hN>

Here are some examples of different heading sizes:

Heading Level 1

Heading Level 2

Heading Level 3

Heading Level 4

Heading Level 5
Heading Level 6

Heading levels range from level 1 (Most Important) to level 6 (Least Important). Like an outline, your heading levels should have logical, consistent order and be parallel.

Placing HTML Headings in Your Document

     
  1. Re-open one of your practice html document.
  2. First, you will use the <h1> tag to display the title as the biggest header, <H1>. Enter the following above the existing body text and after the </head><body> tags:
               <h1>My First Home Page</h1> 
  3. Below the text already entered, create other headings for future sections of your Web page.

    Enter the following headings inside the body of your web page (Note that some are H3 and others are H2 tags):

Remember to save the changes in your text editor.
    NOTE: Page design and layout have been around for thousands and thousands of years. For example: In Egyptian hieroglypics, vertical lines separate columns of glyphs to make them easier to read. Prior to the year 1000 A.D., scribes used varoius techniques to present information on a page, including illumination and illustration. By the time the printing press was invented by Johann Gutenberg in the 15th Century, designers and artists were coming up with various approaches to page design. The Gutenberg Bible gives a hint of many of the aspects of modern page design, including italicized and boldface text. One of the most important characteristics of any document layout, on the Web or in print, is the use of the varying fonts and styles which help readers read through the material and quickly find what they are looking for. If this page had no spacing, headings, boldface or, italics - it would appear rather boring.

Return to your web browser, Open and Reload the HTML file. How does it look. Please note, most Web pages that you design probably won't have quite as many headers as the example that you just created.

     


Text Styles

You've already used the tags for bold and italic to format a portion of your Web page. Other text formatting options are underlining, monospace (typewriter-style text), emphasis, and strong:


Font Size

The <font>..</font> tag which was introduced by Netscape may be used to set the size of the font from: 1 (smallest) to 7 (largest), with the size of 3 being the normal text size:

 

 


On Your Own

 

Add at least three headers of different levels to your own Web document. Type in some text and try out the various text style and size tags.

Lesson 3


Alice Drive Middle School

Staff Information Index

This is a Palmetto State Roots Web Site.

 © 1998

Cynthia Ridgeway Parker, M.Ed.