Once you have created your first page and alot of other 'sub-pages', you may be wondering...
To do this we will be using 'HyperLinks'. Once you start the Anchor, then you need to reference it to a particular place where you want the link to jump to. The tag will be:
Here are some ways to use the 'Hyperlinks' (note: all examples will be in the boxes).
![]() To another document on the same Server
For example, if you are a Geocities citizen and you want to link to another page in Geocities:
<A HREF="/SiliconValley/Lakes/3055">Visit Websister's Page</A> Will look like: (place your mouse over the link and look at the status bar at the bottom of your browser)
![]() To another document on a different Server
If you want to include a link to another page that is not on the server where your page is, the link reference link
would then have to include the http:// prefix:
Will look like: (place your mouse over the link and look at the status bar at the bottom of your browser)
![]() To another document in your Directory
Created alot of pages? If they are all in the same directory then we can link them together like this.
<A HREF="intro.html">Go to the Introduction page</A> Will look like: (place your mouse over the link and look at the status bar at the bottom of your browser)
![]()
If you are wanting the viewer to be able to 'jump' within the document, then two tags will be used:
<A HREF="#top">Go to the top</A> Place this where you want the link to be accessible (eg: the bottom of the page) Then we do the reference 'name' tag: <A NAME="top"></A> Using this tag will not make a link, it is a base for the reference 'code' tag so it knows where to go. Will look like:
I have put the source <A NAME="top"></A> at the top of the page in the document source, so if you clicked on the below link you will be taken back to the top of this page.
![]() If you are wanting to include a link so an Email Window will pop up and your visitor can send you an Email, the link reference will be the same yet the label will be different:
<A HREF="mailto:yourname@somewhere.com">Email Me</A> Will look like: (click on the link to see what I mean)
![]()
Have a newsgroup (usenet) that you would like to link to?
<A HREF="news:comp.infosystems.www.authoring.site-design">Web Site Design Newsgroup</A> Will look like:
![]()
If you are wanting to use a Graphic as a link, then you will need to include the 'anchor reference tag' and the 'img src' tag together with the closing 'anchor tag'.
<A HREF="graphics.html"><IMG SRC="palette.gif" WIDTH=64 HEIGHT=37 ALT="click here to go to my graphics page"></A> Will look like: (place your mouse over the graphic)
It is also a good idea to place a 'text' link with it as well (especially if it is just an image with no text on it):
<A HREF="graphics.html"><IMG SRC="palette.gif" WIDTH=64 HEIGHT=37 BORDER="0" ALT="click here to go to my graphics page></A><BR> Will look like:
|