next up previous
Next: Lists Up: Links and Anchors Previous: Relative, Absolute and remote

Anchors

Anchors are special places within documents that can be linked to.

Therefore given this page of Html

We will Jump back here soon

<a name = "top_anchor"> We will Jump back here soon</a>

Some HTML CODE

<h2>A Header</h2>

<p> A Paragraph .............
...........<br>
...........<br>

...........<br>

...........<br>
</p>

<p> A Paragraph  or two.............
...........<br>
...........<br>

...........<br>

...........<br>
</p>

<a href =#top_anchor>Click here to go back to top_anchor anchor</a>

which looks like this in HTML

Some HTML CODE

A Header

A Paragraph ............. ...........
...........
...........
...........

A Paragraph or two............. ...........
...........
...........
...........

Click here to go back to top_anchor anchor



And to link to links in another document: Click here to see other document in html. Click here to see other document in html source (text).

HTML code to link to other anchors in the other document, Jarrett.html, is as follows

Full HTML Link page is also here

<H1>Jazz: J</H1>
<H2>Jazz Piano</H2>
<UL>
<LI>Keith Jarrett, <EM>Koln Concert</EM> <EM>See Also</EM> <A HREF="Jarrett.html#koln">Jarrett#koln</A>
<LI>Keith Jarrett, <EM>Vienna Concert</EM> <EM>See Also</EM> <A
HREF="Jarrett.html#vienna">Jarrett#vienna</A> 
<LI>Ahmad Jahmal, <EM>Africa Suite</EM>

</UL>

which looks like this (follow links to see anchors work).

Jazz: J

Jazz Piano



Dave Marshall
9/28/2001