Quick Tip Quick Index

Link to a Specific Place

In the Same Document
To link to another area on a page, you create an anchor and a link. The anchor is the target, and takes the coding <A NAME="specificplace">. You can surround just one word with the anchor tags if you wish: the word or words will not be underlined or highlighted. The coding surrounding them acts like a magnet when the link is activated. Here's the way the anchor tags and text will look:

<A NAME="specificplace">Headline/text</A>.

The link is designed like this: <A HREF="#specificplace"></A>. Place these tags around the text you want to link FROM. Remember to use the number/pound sign before the name of the link.

On Another Page
Let's say that you have a great article which you want to reference from your home page. This article is on a page called "articles.html."

Go to articles.html and put this anchor coding around the title of the article you want to reference:
<A NAME="article2">Headline/text</A>. The anchor tags and text will look like:

<A NAME="article2">Time to Market</A>.

Save the file and close, then open the index (home) page. You'll say something like,

To read this dynamic article, go to <A HREF="articles.html#article2">Market or Die!</A> and you'll understand the depth of the situation.

This time, inside the link tag, you put the page name first, immediately followed by the number/pound sign, immmediately followed by the same text you have in the anchor tag.

By clicking the link on the index/home page, your reader will go not just to the articles page, but to the specific line of your choice. This is a marvelous tool, and one more way to make things easy for your visitors!

Back to Quick Tip Quick Index

Caveat: all tutorials are designed for the most frequently used browsers and systems, and may not work in all instances. All files on the parent directory are copyrighted by WebGrammar®. Any reproduction or editing by any means mechanical or electronic without the express written permission of the copyright holder is strictly prohibited. For further information, contact Judy Vorfeld