Section links or anchor links allow you to link to specific sections in a webpage. To create an anchor link, you'll first need to set an element ID on that section.

In this lesson

Setting an element ID

You can assign an ID to any select element in the Settings panel (D).

Assign an ID to the selected element
Assign an ID to an element
Good to know
An element ID should be unique for each element.
An ID must contain at least one character and cannot contain any space characters.
An element ID can also be used in custom code to point to a style in a style sheet or to manipulate a specific element with JavaScript. However, the most come use for an ID is in section links or anchor links to different sections on a page.

Configuring a section link

  1. Select the link element that you want to take you to a section on your page
  2. In the settings panel, select the section ID from the page section dropdown menu
Link to a section on a page

Linking to a section on another page

If you want to link a button, for example, to a section on another page:

  1. Select the button and choose the external link option in the link settings
  2. Enter the URL of the page where the section exists followed by `#` and the element ID you assigned to that section
Link to a section on another page

Here's how your anchor links would look like:

  • a page in your current site: /page#element-ID
  • if your page is nested in a folder: /folder/page#element-ID
  • an anchor link on another website: //

On this page, we have 3 section links that link to the 3 article sections on this page.

  1. Setting an element ID
  2. Configuring a section link
  3. Linking to a section on another page

To link to this last section of the page, the URL is: