
Click here
to see an anchor at work
Anchors can also be used to move a reader to a particular section in a document (either the same or a different document) rather than just going to the top, which is the default. This type of anchor is commonly called a named anchor because to create the link, you insert HTML names within the document.
Creating
a document as one long file can make printing and downloading easier but it
can be time consuming to move through when all you want is a specific part
of the document. In this way you can create a table of contents or index for
the page. To create a index use this tag were you want the index to go:
<A
HREF="#cre">Put your click here</A>
Then the part of
the document you wish to link to you would put:
<A
NAME="cre">Creating</A>
"cre"
is the name for Creating so when you click on the link in the index, the line
that has Creating will jump to the top of the window.
© Copyright 2002 Carnegie Webhead's