Create an anchor and link to it

Abstract

Use an anchor to link to a particular section within a page.

An anchor is an HTML code that is used as a bookmark to create a link to a particular section within a page. For example, it could be a Back to top link that takes the user to the top of the current page.

In Rich Text fields, you can use the Hyperlink Manager to create an anchor in your text, and then to create the link to your anchor.

Note

In Word fields, you cannot access the Hyperlink Manager. Instead, you must use the Hyperlink functionality within Microsoft Word.

To create an anchor:

  1. In the Experience Editor or the Content Editor, navigate to the item where you want to insert an anchor.

  2. Open the Rich Text Editor and select the text or image that you want make an anchor.

  3. Click the Hyperlink Manager 88699719E8254D8D986CD1A6A66F16DE.png.

  4. In the Hyperlink Manager dialog, click the Anchor tab and in the Name field, enter a unique name for the anchor.

    HyperlinkManager_CreateAnchor.png
  5. Click OK.

  6. To create a link to this anchor, you create a new link with the Hyperlink Manager. On the Hyperlink tab, in the Existing Anchor field, choose the anchor you created and click OK.

    Link_to_existing_anchor.png

    Note

    If the anchor is in a different Rich Text field from the link, then you will not be able to select the anchor in the Existing Anchor field. To link to an anchor in another Rich Text field on the page, in the URL field, enter #[anchor name] and click OK.

    Manual_link_to_anchor.png