Section 12
ADDING LINKS
A Link is a spot you can click the mouse on that will jump you to some-
where else (usually another web page file). To create a Link you use the
Anchor tag. It's form is <A HREF="what to jump to"> and you need to use a
closing </A> tag. The "what to jump to" entry can be another web page file
like "page2.html", or even a picture file such as "boy2.jpg".
However, the Anchor tag does not put anything on the screen, so you
also need to add in something (such as text) so you have something on the
screen for the user to click the mouse on. Examples might be:
<A HREF="page2.html">Go to my next web page</A>
<A HREF="boys2.jpg">My twin sons</A>
<A HREF="http://www.geocities.com/Area51/Stargate/5172>Milt's web page</A>
The first example would jump to another web page file "page2.html",
and the second example would display the jpeg picture file "boys2.jpg",
and the last example would jump you to my GeoCities web page.
Instead of text, you could also use an Image (or picture) as a Link by
replacing the text part with an appropriate tag to display the Image. I'll
explain that later when I show how to add Images and Graphics.
Of course, the file you want to jump (or Link) to must be on the web
server (or available on another web server). The GeoCities File Manager
has an option to allow you to upload files to their server without having
to use any outside software (so do some other free web page servers). Or,
you can use FTP software to upload the files (as I usually do now). It
depends on what your web page server works with.
The text part of the Link will show up in the Color(s) you specified
for LINK and VLINK in the Body tag. If you use an Image instead of text,
the Border around the Image would be in those Colors (although most people
turn off the Border option for Images... more about that later).
I really don't need to show any examples of this in operation because
you have already been using the Links below (or others) to get to this
section of my HTML Tutorial already.
[Previous Section]
[Table of Contents]
[Addendum]
[Milt's Micro Digest Home Page]
[Next Section]
The names Microsoft, Internet Explorer, Netscape, and others used in this document
are Trademarks, or Registered Trademarks of the companies represented.
E-mail questions, comments, or suggestions to: miltst@hotmail.com
© 1999 miltst@hotmail.com

(This page was last modified on: Monday, February 08, 1999)