A Beginner's Primer by Professor Al Fichera
Web Page Essentials, Part I.I
IT'S ABOUT HYPERTEXT, Continued
Adding Hyperlinks to Your Web Page
Working with Hypertext, Continued

Page 1   Page 2   Page 3  

< A HREF="index.html" > Home< /A >
< A HREF="page2.html" > Page 2< /A >
< A HREF="page3.html" > Page 3< /A >
< A HREF="page4.html" > Page 4< /A >
< A HREF="page5.html" > Page 5< /A >

Because there are no breaks < BR /> or paragraph < P > codes after each link, these will appear all on one line of text on your Web page. This paragraph of code could be placed at the bottom of each of the five Web pages you built and you’ll have direct links between all the pages. Your visitor could jump from one page to the next without hesitation since you provided a great set of links for him/her to use.

This system works nice, but consider what follows carefully, because it could make a nice thing even nicer!

You could turn off the hypertext link that leads to the page that your visitor is currently on, that way he/she will know immediately where they are in the matrix of your Web site. For example, using the above example, I’ll change a bit of code that could appear on the “home” page. Observe the change in the code below:

< !--A HREF="index.html"-- >Home< !--/A-- >
< A HREF="page2.html" > Page 2< /A >
< A HREF="page3.html" > Page 3< /A >
< A HREF="page4.html" > Page 4< /A >
< A HREF="page5.html" > Page 5< /A >

This is what the home page hyperlinks would look like on your Web page:
Home
Page 2 Page 3 Page 4 Page 5

I used the comment tag to stop the hypertext link from happening, now all the viewer will see is the word “Home” and it will be in a normal text color and not underlined. Here’s another example, just showing what it would look like on page two, after this example, I’m sure you could continue on your own for the balance of the links.

< A HREF="index.html" > Home< /A >
< !--A HREF="page2.html"-- >Page 2
< A HREF="page3.html" > Page 3< /A >
< A HREF="page4.html" > Page 4< /A >
< A HREF="page5.html" > Page 5< /A >

This is what the page 2 hyperlinks would look like on your Web page:
Home Page 2 Page 3 Page 4 Page 5

The concept is quite simple and is of a great help to your visitor in identifying which page in a series of pages they happen to be on at the time.

The next concept I’d like to discuss with you is about “Named” links on a page. These are of great use to Web page designers and of value to your visitors as well. On the next page you’ll learn how to provide a link from the bottom of the page to the top, then any number of places upon your Web page.

Page 1   Page 2   Page 3   TOP


Copyright © 2001 Professor Al   al@profal.com

Back to LAB     Back to TOC