|
<A HREF> |
|
This tag begins an anchor. |
|
</A> |
|
This tag ends an anchor. |
Example:
<A HREF="URL address (location to go to)">Text user will see</A>
Example of a link to a location on the web:
<A HREF="http://www.yahoo.com">Yahoo</A>
If you have more than one web page you can link them together. If your web pages are in the same folder or subdirectory it makes it a little easier to handle. Creating a link to another web page in the same folder or subdirectory is easy. Simply type the name of the document you wish to link to in the place for the URL address or location within the <A HREF> tag. (Yes, it is case sensitive!)
Example of a link to a web page in the same folder or subdirectory:
<A HREF="music.html">My Music Page</A>
You may wish to link to another part of the same web page. To do that you need to create two anchors. One anchor will be located at the place the user will click. The other anchor will be located where you want the link to take the user. You will need a key word, any word you choose as long as you use it in both locations.
Example of a link to the destination:
<A HREF="#Key_Word">Text describing the destination</A>
Example of an anchor to be located at the destination:
<A NAME="Key_Word">Text at the destination</A>
© Barbara Gibson, October 1996
Fourth Edition, January 1998