Navigate this site
Back to 6 | Browse
Index | Next:
On to Step 8
<HTML> |
|
|
|
<HEAD> |
|
|
|
<TITLE>Vance's
web page</TITLE> |
|
</HEAD> |
|
|
<BODY> |
|
|
|
<P>
<A HREF="starthere.htm">Go back to the Table
of Contents</A></P> |
|
|
|
|
|
<P>Hi, my name is Vance.<BR> |
|
|
<I>I'm a teacher.</I></P> |
|
|
<P><IMG
SRC="vance.gif"></P> |
|
</BODY> |
|
</HTML> |
|
|
Try it: Compare step 6 with
this page.
Concept: Linking to other
documents
Explanation:
- <A HREF="..." > makes a hyperlink reference to another
document.
- The document being linked to goes in quote marks after the =
sign.
- The second part of the command tells the browser what to display on
the page and underline so users can click on it to go to your link. This is
everything between <A HREF="..." >here and here </a>
- The document linked TO in this example is 'understood' to be
in the same folder as the document linked FROM.
- For your information: if you want to link to a document in a
different folder you need to set a 'path'. For example if you place "../"
before the filename it makes the browser look for the file to link to in the
folder just above (and if you want to link into a folder parallel to this one,
go back up ../ and specify the folder; e.g. "../another_folder/.." (and if
this doesn't mean anything to you, don't worry about it, just keep all your
documents for you project in the same folder).
What's coming: Now we'll see what to put in the HREF tag
if you want it to link to a URL (and then we're done)
Navigate this site
Back to 6 | Browse
Index | Next:
On to Step 8
|
For comments, suggestions, or further information
on this page, contact Vance
Stevens, page author and webmaster.
Last updated: January 22, 2008 -
07:30 UTC (GMT) |
Copyright 2008 by Vance Stevens
under Creative
Commons License: http://creativecommons.org/licenses/by-nc-sa/2.5/