Section 2 - Basics Your first page Formatting Text tricks Pictures Links Anchors External Links In-site Links Navigation Links Pictures Targets You try it Backgrounds Section 4 - Advanced Section 5 - Publishing Section 6 - Extras Appendices |
Navigation links - a link by any other name... Sometimes there are links that will take you from one part of a page to another part of the page. If you click on one of those, it will take you to specific locations on this page. If you're willing to click this link, it will take you to the bottom of the page. Welcome back. What you've just experienced are navigation links. They work just like regular links, with some minor differences. Let's call those spots you can jump to "place-holders." Before you can tell an anchor to go to a place-holder, you need to make the place-holder. This is also done with an anchor tag. Instead of giving this tag a hyper-reference though, you'll just give it a name. Here it is all spelled out.
Now that you've created an an anchor, you can link to it. It is almost exactly like the anchors you learned about earlier with minor changes. Here is an example:
You can also link to a specific anchor on another document. For example, perhaps I want to link to demolink.html and on that page there is an internal anchor named "saffron" Here's how I would make the link and here's what it looks like:
Ok, now click the following link to come back to the top of the document. Yeah. This one. |