eHow launches Android app: Get the best of eHow on the go.

How To

How to Create a Navigation Bar for a Web Page

Contributor
By eHow Contributing Writer
(50 Ratings)

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

Difficulty: Easy
Instructions

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

  1. Step 1

    Open the page using a text editing program, such as Notepad or EditPad. Position the cursor where the navigation bar will appear.

  2. Step 2

    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.

  3. Step 3

    Continue adding pages in this manner, changing the names and locations where appropriate: What's New / 

  4. Step 4

    Close the center tag by typing:

  5. 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.

  6. Step 1

    Open the page using a text editing program, such as Notepad or EditPad. Position the cursor where the navigation bar will appear.

  7. Step 2

    Begin the table by typing the following:

    This tells the browser to begin a table with no border and a width of 100%.

  8. Step 3

    Begin the table row:

  9. Step 4

    Add the first link by typing the following:

  10. . 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.

  11. Step 5

    Continue adding links using the same tags, replacing the page name and location as needed.

  12. .

  13. Step 6

    Close the center tag by typing:

  14. Step 7

    Close the row by typing:

  15. Step 8

    End the table:

  16. Home
    What's New

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

  18. Step 1

    Save the newly revised page and upload it to your website.

  19. Step 2

    Connect to the Internet and click on each link to verify it is correct.

  20. Step 3

    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%.

Comments  

Flag This Comment

on 3/26/2009 This was really importnat to me thank you very much http://hardcorelifescientist.blogspot.com/

Spiralina said

Flag This Comment

on 11/30/2008 Thanks for the info.

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Internet
Virginia DeBolt,

Meet Virginia DeBolt eHow's Internet Expert.

Get Free Internet Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Demand Media
eHow_eHow Technology and Electronics