|
| |
Linking to Other DocumentsLinks to Specific Sections in Other Documents
 | Anchors are used to move to a particular section in another document
 | ``Jabberwocky'' to document B
 | Here's < NAME ="Jabberwocky"> text</a>
|  | Link to it from document A using the hash (#)
 | This is my < HREF = "documentB.html#Jabberwocky"></A> to document B.
| | | |
 | Clicking ``link'' in document A moves directly to ``some text'' in document B.
|
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.
|