Website Building » Squarespace » How Do I Use Anchors in Squarespace?

How Do I Use Anchors in Squarespace?

Last updated on October 1, 2022 @ 9:20 am

Anchors are one of the most basic and essential parts of HTML. They allow you to link to other parts of the same page, or to other pages entirely.

In Squarespace, anchors are easy to use and can be very helpful in organizing your content. Here’s how to use them.

To create an anchor in Squarespace, simply create a new HTML block and type in the following code:

Anchor text

Replace “anchor-name” with whatever you want to name your anchor, and “Anchor text” with the text you want to display. Once you’ve saved your changes, you can link to the anchor by using the following code:

PRO TIP: Anchors are a great way to keep your content organized on Squarespace, but there are a few things to keep in mind when using them. First, anchors can only be used on pages with the same URL structure. For example, if you have a page with the URL www.example.com/page1 and you want to add an anchor to it, you can only use an anchor on another page with the URL www.example.com/page1. Second, anchors can only be used on pages that are part of the same site. So if you have a page on one Squarespace site and you want to add an anchor to it, you can only use an anchor on another page on that same Squarespace site. Finally, when adding anchors to your content, be sure to use descriptive names that will be easy for your visitors to remember.

Link text

Replace “anchor-name” with the name of your anchor, and “Link text” with the text you want to display for the link. That’s all there is to it! Now you can easily link to any part of your Squarespace site.

Anchors are a great way to organize your content on a Squarespace site. By creating anchors in your HTML blocks, you can easily link to other parts of the same page or to other pages entirely. Simply use the code provided above to create and link to anchors on your Squarespace site.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.