
example
What Are Anchor Links? ← H2
Anchor links are internal links that jump a reader to a specific point on the same page rather than loading a new one. They are built from two halves: an identifier attached to a heading, and a link that points at that identifier. The browser matches the two and scrolls the heading into view.
On a long article they turn a wall of text into something a reader can navigate in a single click. Without them, a reader arriving from a search result has to scroll and scan to find the section that answers their question, and a good proportion will give up before they find it. The longer the article, the worse that problem gets.
They are also stable in a way that most on-page interactions are not. An anchor is part of the URL, so it can be copied, shared, bookmarked, or sent to a colleague, and it will land on exactly the same paragraph every time.
Benefits of Using Anchor Links ← H2
There are three reasons to use them, and they compound: readers find what they came for faster, search engines understand the structure of the page better, and the page becomes eligible for richer search results. Each is worth having on its own. Together they change how a long article performs.
Improved UX ← H3
Readers rarely read a long article from top to bottom. They arrive with a specific question and want the answer without hunting for it. A contents list at the top tells them immediately whether the article covers their question, and takes them straight there if it does.
That has a measurable effect on how long people stay. A reader who lands on a page, sees a list of sections, and recognises one as relevant will commit to reading. A reader who lands on the same page and sees only paragraphs has to decide whether it is worth the effort of scanning, and many decide it is not.
It matters most on mobile, where the same article occupies several times as many screens and scrolling to find a section is genuinely tedious.
Anchor Links and SEO ← H3
Search engines use headings to understand what a page covers and how it is organised. When those headings carry identifiers and are linked from a contents list, the relationship between sections becomes explicit rather than inferred from position and formatting alone.
Google can then treat individual sections as answers in their own right. That matters when someone searches for something the article covers in one paragraph rather than throughout — the section can rank for that query even though the page as a whole is about something broader.
Anchor Links in Search Snippets ← H3
Google sometimes shows a set of jump links beneath a search result, taking the reader directly to a section. These are generated from the page's own anchors, so a page without them is not eligible. A result with jump links occupies more space on the results page and gives the reader more reasons to click.
How To Create Anchor Links ← H2
The mechanics are simple. Each heading needs an identifier, and each link needs to reference it. What varies is who does the work — whether an author types identifiers by hand, or the system generates them from the heading text automatically.
Writing the identifier by hand ← H4
This line is a Heading 4. It should appear in the article as a heading, but should not appear in the Quick Navigation list, because the nav only collects H2 and H3.
Anchor Links Best Practices ← H2
A few habits make anchors more useful and less fragile over time.
Keep headings descriptive, because the heading text becomes the anchor — a heading called "More" produces a meaningless URL. Keep them short, since very long headings produce unwieldy links. Avoid changing headings casually once an article is published, because the anchor changes with the text and any external link to the old one will stop working.
Choose appropriate anchors ← H3
Not every heading needs to be in the contents list. A list with twenty entries is as hard to scan as the article itself. Aim for the sections a reader might plausibly arrive looking for, and let the rest sit in the body.
Summary ← H2
Anchor links cost very little to add and improve both how readers move through a page and how search engines interpret it. On any article longer than a few screens they are worth having by default.
Summary ← H2
This is a second heading with the same wording as the one above it. The Quick Navigation should list "Summary" once, not twice, and clicking it should scroll to the first one. If you see two Summary entries, or a link that does nothing, that's the duplicate-handling bug.