US English (US)
BS Bosnian

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Book a Demo
  • Product Updates
  • Contact Us
English (US)
US English (US)
BS Bosnian
  • Home
  • Article Editor

How To Create Anchors Links

Learn the step-by-step process of creating anchors to improve navigation and user experience

Written by Ivanna Parra

Updated at May 6th, 2025, by Amanda Stançani

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Users Accessibility New to Helpjuice? Start Here Content Management Multiple Languages/Translations & Localization Multilingual Knowledge Bases Analytics Video Tutorials
  • Customization
    Customization Guides
  • API V2
  • API V3 and Webhooks
  • Article Editor
  • Billing / Subscription
  • Authentication
  • Pricing
  • Swifty AI Chatbot
  • Swifty AI Helpbar
  • What's New
+ More

Table of Contents

Creating an Anchor in the Legacy Editor Linking to a Section in the Same Article Linking to a Section in Another Article Creating an Anchor in the New Editor Linking to a Section in the Same Article Linking to a Section in Another Article Linking to a Table of Contents (ToC) Item

Anchor links allow you to link to specific sections within an article or even a different article. This requires basic HTML editing, which can be done in Code View (Legacy Editor) or Source (New Editor).

If you're comfortable making these changes, follow the steps below.

Creating an Anchor in the Legacy Editor

Linking to a Section in the Same Article

  • Check if the target section already has an ID attribute:
    • If it does, copy it.
    • If not, add an ID in Code View.
  • Select the text you want to link, click Insert Link, and enter #ID.

Linking to a Section in Another Article

  • Follow the same steps above to check or add an ID in the target article.
  • Select the text you want to link, click Insert Link, and enter /slug-of-the-other-article#ID.
  • Important: Update and publish both articles for the anchor link to work.

🔥 The ID can be anything, but you must use the exact same ID in your anchor link.

 

Creating an Anchor in the New Editor

In the New Editor, IDs are automatically generated when you format text as a Heading. This means you don’t have to manually add an ID in Source mode.

Linking to a Section in the Same Article

  • Change the text format to Heading 1, 2, 3, or 4.
  • Switch to Source mode and copy the auto-generated ID.
  • Go back to the editor, select the text you want to link, click Link, and enter #ID (ensure the # is included).

Linking to a Section in Another Article

  • Format the target section as a Heading to generate an ID.
  • Copy the auto-generated ID in Source mode.
  • Select the text you want to link, click Insert Link, and enter /slug-of-the-other-article#ID.

Linking to a Table of Contents (ToC) Item

You can also create an anchor link using the Table of Contents in the published article.

  • In the end-user view, find the Table of Contents.
  • Right-click the desired heading and copy its link address.
  • Return to the article editor, select the text you want to link, click Insert Link, and paste the copied link.

🔥 Anchor links do not open accordions or tabs automatically.

anchor anchors links

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How To Link Articles
  • AHow to Get the API Key
  • How To Upvote/Downvote Questions Through API
  • Editor Shortcuts

Copyright © 2025 - Helpjuice

Helpjuice, Inc. is a registered US Corporation, EIN # 45-2275731

Download W9
  • Help
  • Features
  • Pricing
  • About
  • Careers
  • Customers
  • Blog
  • Case Studies
  • Resources
  • Knowledge Base Examples
  • Privacy Policy
  • Terms of Service

Why is the knowledge base important?

With a knowledge base, you can allow your customers to self-help themselves, thus reducing your customer support by up to 60%. Furthermore, you can also have your team get instant answers to the questions they need without having to email themselves all using knowledge base software.

What is the purpose of a knowledge base?

The purpose of knowledge base software is to allow you to host your knowledge base/corporate wiki in one centralized 'hub'. Both your customers, and employees can now access information within seconds!

Made with from Miami, Bosnia, Morocco & Brasil

+1 (833) 387 3877 support@helpjuice.com
Expand