Sub-headings make pages easier to scan, everybody knows that. Not everybody knows that on some long pages, anchor links or jump links are even better.
During user tests, the response to anchor links is always positive. People like anchor links because they give them a good overview of the content of a page. And help them to quickly go to that part of the page that interests them most.
What are anchor links?
Anchor links, also called jump links or in-page links, are links that lead to another part of the page. If someone clicks on an anchor link, he doesn’t go to a new page but to another part of the same page.
When to use anchor links?
Anchor links are only interesting on longer pages. Pages where not all sub-headings are visible without scrolling in the most used resolutions.
Just to be clear: anchor links are best used on end pages or detail pages. The page about a certain product, service, et cetera.
How do users feel about anchor links?
They like them. But only if a website uses them correctly: like a type of page-index.
During our tests, we see that around 1 user out of 10 is not familiar with anchor links. But even they, when they click on them, know what they are and like them.
The basics
- Put the anchor links at the top of the page, directly below the page heading, as a type of page-index.
- Respect the rules of clickability.
- Make sure the words you use in the anchor links are exactly the same as the words in the sub-headings they refer to.
- Make sure the sub-headings are recognizable as key elements of the page.
- Make sure the sub-heading the first anchor link refers to is visible without scrolling.
- Put a link ‘Top’ or ‘Top of page’ on the same line as the sub-heading. Add a little arrow that points to the top if you want to. Right-align this link.
- Make sure the anchor links jump to the right sub-heading in every commonly used screen resolution. This may mean you have to add white space at the bottom of the page.
This is how to use anchor links

This is how not to use anchor links
1. Text between the anchor links and the 1st sub-heading

There’s a piece of text between the anchor links and the 1st sub-heading.
Now, what are the chances of that ever getting read? Minimal.
If that text is necessary, give it a sub-heading and put it at the top of your list of anchor links.
2. Anchor links combined with other links

What’s the difference between all these links?
- The links at the top are navigation links that refer to pages on a deeper level.
- The link in the middle refers to a related page.
- The bottom links are anchor liks that refer to paragraphs lower on the page.
If you mix links up like this, people will not like your anchor links. But then again, chances are they won’t like your site much either.
great list of dos and don’ts..
This is a great article! I always considered that anchor links in a table of contents are really useful to people, but reading Jacob Nielsen’s article (on Avoid Within-Page Links –
http://www.useit.com/alertbox/within_page_links.html
) and have colleagues quote it back at me lead to a stalemate. Its great there’s evidence from testing that shows that anchor links are useful!Glad you like it.
The strange thing about the Jakob Nielsen article is that everybody seems to miss his section on ‘When Within-Page Links Are OK’.
He says quite clearly there that in-page links work fine if you use them as a kind of index at the top of a page…
Sorry for the reply on the very old article, but I continue to see articles referring to “anchor links” as links that move the user up or down a single page. Unfortunately, that isn’t quite accurate as an “anchor” refers to the tag that is used for any link on a website, not just those that move within the page. Yes, anchor links can be used to move within a single page, but they are also used to move to other pages on the website or external links. Nielsen-Norman refers to links that move you around a single page as in-page links, which honors the distinction I’m making above.
See this page going back to 1995 from w3.org that explains what an anchor link is: https://www.w3.org/MarkUp/1995-archive/Elements/A.html