Creating Links
-
Creating links using Netscape Gold is very easy. Links are the parts of
an HTML document that you click on and they take you some where else. They
usually are underlined text in a different color. The following 4 links
all take you back to this page :
-
Click here for some pictures of me in the buck
-
Here is some personal information
you can use to black mail me.
-
Here
is some info on blue balls
-
Click
on the smile face for some happiness
- All
these link to this page.
-
-
You can change the colors of the text that is a link by marking the text
and clicking on Properties up in the menu bar and selcect linkl.
-
The important thing is that you learn how to make a link go somewhere.
To do this you mark the text or graphic that you want to convert into a
link and the click on the little chain or link button on the menu bar.
This will open a window that will let you write in eiter the location of
the file , eg for this one it would be http://www.biostat.jhsph.edu/~ririzarr/Web-Tutorial/NGstuff/how2link.html
-
or the pathname which would be /home1/biostats/ririzarr/public_html/Web-Tutorial/NGstuff/how2link.html
but you can write the pathname assuming you are already in
the directory where the file for the refering page is. So in this case
all you would have to write is how2link.html. If I wanted to link
to the resources web page I would write ../resource.html.
It not a good idea to use full pathnames cause this means
that if you leave and move your web-page to another server you will have to edit
all your links.
Linking to your Personal Stuff Page
Most of you will probably have a link to a personal stuff page. To do this
you would first have to create a file that for the Web Page. Say you are
in your home directory /home1/biostats/ACCOUNTNAME, you can create
a directory called Personal (mkdir Personal) then in that directory you
can create a html file (for example you can copy example
1 and edit it as explained in the resource page) called personal.html.
Then in your home page you simply mark the text that says "Here is some
personal stuff" and click on the link button and in where it says "Enter
link or local file ...." you write Personal/personal.html
Back to Student Resource page