Link
Link a component to a page, resource, anchor, email address, or website
Last updated
Was this helpful?
Link a component to a page, resource, anchor, email address, or website
The Link control makes a supported component clickable. Elements tracks internal pages, anchors, and resources so their published destinations stay current when the project changes.
Choose To or Choose Link… to open the Link panel. An unset link is the default. Use the Clear button to remove an existing destination.
Available link types include:
URL — Links to an external URL. Entering an email address creates a mailto: link.
Plain — Uses the entered destination without Elements resolving it; useful for specialised or generated URLs.
Page — Links to a page in the project.
Anchor — Links to a component ID on a selected page.
Resource — Links to a file stored in Resources.

Entering an email address creates a mailto: destination. Test it in a browser because the visitor must have an email application configured.
Where the Link panel provides Custom Attributes, add a Name and Value for attributes such as:
title
Go to Example Website
Supplies additional advisory text.
rel
noreferrer
Prevents the destination receiving referrer information.
rel
nofollow
Asks search engines not to follow the link.
type
application/pdf
Identifies the linked resource’s MIME type.
Use one rel attribute with space-separated values when more than one relationship is required, for example nofollow noreferrer.
Select the destination component.
Enter a unique value under Advanced → ID.
Open the Link panel on the source component or selected inline text.
Choose the destination page.
Choose the component ID from the Anchor list.
On the same page, the published destination uses a fragment such as #about-section.
Elements sites use smooth anchor scrolling by default. To disable it site-wide, remove class="scroll-smooth" from the html tag in the site Template code.
Use link text that describes the destination. Avoid making a Container clickable when it contains Buttons, links, form fields, or other interactive controls.
Last updated
Was this helpful?
Was this helpful?

