Creating Web Page Links
Updated February 9, 1996
The best part of Web pages is being able to run links
to other places, either within the same file or to
other files that may be in different directories or
even in different machines on the Internet.
You can also set up an Automatic Mail Link
to allow users to send e-mail to a specific address.
Web or
HTML editors call these Anchors which are
represented as
The HREF is used to signify a place to go to.
This can be elsewhere on the net, someplace else in the
system (which I haven't really tried messing with yet),
to a file in the same directory, or to somplace (a label)
in the same file. To use it,
merely put in the filename or label in double quotes. If you
want, you can put in "filename#label" to go to a specific place
in another file. This is what I do at the end of support pages
to force you back to the beginning of the Support Home Page:
For example:
That's it. You can go back to my
Home Page from here.
is coded as:
<P>
That's it. You can go back to my
<A HREF="index.html">Home Page</A> from here.
In the beginning of the WEBINTRO.HTML file is an Anchor label
(which I put in the header) that looks like this:
<H1>
<A NAME="TOP">Intro to Web</A>
</H1>
Elsewhere on the Net
To link to someplace else on the net, just use the
entire Universal Resource Locator (URL) address. Web sites
begin with HTTP but you can also connect to FTP or GOPHER
or USENET sites. For example, at the beginning of this file
I have a line which says:
The source code for that is:
A very good tutorial is the
<A HREF="http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html">
Beginner's Guide to HTML</A>
Automatic E-Mail
Use the MAILTO service as an address within an anchor to set up
an easy way for a user to automatically send e-mail across
the Internet to the author.
For example, at the end of some of the main pages, I have a
line which says:
If you have problems or comments concerning our Web service,
please send e-mail to Mike Moxcey at
mmoxcey@aphis.usda.gov
.
It is coded like this:
If you have problems or comments concerning our Web service,
please send e-mail to Mike Moxcey at
<A HREF="mailto:mmoxcey@aphis.usda.gov">
mmoxcey@aphis.usda.gov
</A>.
| basic layout
| formatting codes
| pictures
| view files
| tables
| forms
|
Mike Moxcey