Website Building » Squarespace » How Do I Make a Link Open in a New Tab in Squarespace?

How Do I Make a Link Open in a New Tab in Squarespace?

Last updated on December 27, 2022 @ 6:27 pm

One of the most common questions we get asked is how to make a link open in a new tab in Squarespace. The answer is actually really simple!

All you need to do is add a little bit of code to your link.

Here’s how:

    1. Find the page or post where you want to add the link.

    2. Click on the + button to add a new block.

    3. Select the Code block.

    4. Paste your link into the code block.

    5. Add the following code before your link: target="_blank"

    6. Click “Save & Close”. Your link will now open in a new tab!

That’s it! Now you know how to make a link that opens a new tab using Squarespace HTML code blocks.

PRO TIP: If you are not careful, clicking on links in Squarespace can cause your web browser to navigate away from the current page. If you want to open a link in a new tab, right-click (or control-click) on the link and select “Open in New Tab” from the menu.
Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.