ourmission
theweb.gif (1103 bytes)
booksandbibles16
thenewsroom
governmentrm.gif (1147 bytes)
searchpage
tutorials
webtools
websecurity

What is the Web?

Privacy & Disclaimer
copyrights
notices
HOME

Visitors Since
Aug - 2004

Hit Counter

 

Linking to Other Documents Links to Specific Sections in Other Documents

bullet

Anchors are used to move to a particular section in another document

bullet``Jabberwocky'' to document B
bulletHere's < NAME ="Jabberwocky"> text</a>
bulletLink to it from document A using the hash (#)
bulletThis is my < HREF = "documentB.html#Jabberwocky"></A> to document B.
bullet

Clicking ``link'' in document A moves directly to ``some text'' in document B.

Previous slide Next slide Back to first slide View graphic version

Notes:

Anchors can also be used to move to a particular section in a document. Suppose you wish to set a link from document A
and a specific section in document B. (Call this file documentB.html.) First you need to set up a named anchor in document
B. For example, to set up an anchor named ``Jabberwocky'' to document B, enter
Here's < NAME = "Jabberwocky"> text</a>
Now when you create the link in document A, include not only the filename, but also the named anchor, separated by a hash mark (#).
This is my < HREF = "documentB.html#Jabberwocky"></A> to document B.
Now clicking on the word ``link'' in document A sends the reader directly to the words ``some text'' in document B.