Skip Navigation.

NWE Help: Web: Authoring: HTML: Anchors

NWE Home :: Help :: Web :: Authoring :: HTML

Anchors allow you to add internal links to your documents. Internal links are useful for pages that have several parts, each of which you might want to link to directly*. (See an example of a page with internal links.)

Place an anchor

First, you need to place an anchor tag at the spot you want to link to. Your anchor tag should look like this:

<A NAME="link">Click here</A>
  • Notice that the attribute in the anchor tag is NAME.

Make your link

Next, you need to make a link that points to this anchor. You can do this in two ways. The first is an internal link, a link on the same page. An internal link looks like this:

<A HREF="#link">Click here</A>
  • Notice that the link uses the text you put in the NAME attribute, only with a hash mark ( # ) in front.

If you want to point to an anchor tag in another document, you can do so by adding the link to the end of the normal link, like this:

<A HREF="linking.shtml#link">Click here</A>

Once you've made your anchor and your link, you're ready to use your internal links.

* The HTML code on this page is represented in Blue to make it easier to read.

Back: Linking
Next: Lists