Linking Graphics and Pages


Linking graphics, documents, and other WWW sites to a document is na essential part of writing a HTML document.


All the tools needed to link images and documents are in the Link menu. To link another WWW site, use the Link menu, and select Link . Now the Link to URL menu should appear. Another way of going about getting the Link to URL menu is to click on the Link button on the toolbar.


Now enter the link which you want to use in the Enter Text for URL box. When you are done press OK . Enter this address for the example:

http://www.cs.mun.ca/~brown/multi/welcome.html

This is the address of the tour of St. John's.

In the window, there should be this:

<A HREF="http://www.cs.mun.ca/~brown/multi/welcome.html> </A>

This is how you link an address of another WWW page or document to you page. The <A HREF="the site that you wish to link"> is the part that creates the link to the other document. The </A> part of the code ends the link to the other page or document. In between these two parts must go a discription of the site. Without this discription, you will not know which site that you are connecting to.

Here is an example:

<A HREF="http://www.cs.mun.ca/~brown/multi/welcome.html> Jason Aue's Tour of St. John's

</A>

HERE is the completed example.


To link an image, use the Link menu, then select Image . Now the Link to Image should appear. Another way to get the Link to Image box to appear is to click on the Image button on the toolbar.


In the Enter image URL box, enter the name of the picture (including appropiate directories) in this box. The Enter descriptive text box adds some text near the picture to tell what the picture is about. But this part is optional. For the image url, enter gfx/tattoo.gif

Now this code should appear:

<IMG SRC="gfx/tattoo.gif">

HERE is the document after the image has been linked to it.