How to Create a Navigation Bar for a Web Page

By eHow Internet Editor

Rate: (19 Ratings)

Visitors to your site can find their way around using a handy navigation bar to guide them!

Instructions

Difficulty: Easy

A navigation bar that uses text only saves on download time and is easy to add.

Step1
Open the page using a text editing program, such as Notepad or EditPad. Position the cursor where the navigation bar will appear.
Step2
Type the following, changing the page names and locations where indicated:
Home /  The center tag centers the entire navigational bar, while the remaining tags serve to add a text link to other pages. The last   tags add a space, a dividing line and another space between each link.
Step3
Continue adding pages in this manner, changing the names and locations where appropriate: What's New / 
Step4
Close the center tag by typing:

Use a table to line up the links and add color to a navigation bar. It is recommended you read the 'How to Add a Table to a Web Page' eHow first.

Step1
Open the page using a text editing program, such as Notepad or EditPad. Position the cursor where the navigation bar will appear.
Step2
Begin the table by typing the following: This tells the browser to begin a table with no border and a width of 100%.
Step3
Begin the table row:
Step4
Add the first link by typing the following:
. This tag tells the browser the first column has a width of 25% of the table, adds a link to the home page, centers the text and closes the column.
Step5
Continue adding links using the same tags, replacing the page name and location as needed.
.
Step6
Close the center tag by typing:
Step7
Close the row by typing:
Step8
End the table:
Home
What's New

Verify each link on the bar works. Visitors hate getting lost and won't return!

Step1
Save the newly revised page and upload it to your website.
Step2
Connect to the Internet and click on each link to verify it is correct.
Step3
Make any changes needed, save and upload again.

Tips & Warnings

  • Add a background color to the table to make it stand out. After the WIDTH=100% tag, type the following, replacing with desired color or hexadecimal code: BGCOLOR='blue'.
  • If you use a background color, make the text links bold or increase the font size to make them stand out better against the colored background.
  • Add or decrease the number of columns by making sure the percentage of each column combined adds up to 100%. For instance, the above example uses four columns, each 25% of the table. For three columns, use 33%.

Post a Comment

POST A COMMENT

Request a New How-To Article

Looking for more How To information? Chances are there’s an eHow member who knows how to do what you’re looking to do. Submit an article request now!

eHow Article:  How to Create a Navigation Bar for a Web Page

eHow Internet Editor

eHow Internet Editor

Category: Internet

Articles: See my other articles

Related Ads

Internet

Veesites
Meet Virginia DeBolt eHow’s Internet Expert.