Jump to content

Instruct code to open in a new tab

Recommended Posts

Site URL: https://www.cillianosiochain.com

Hello, I have added the following code to my site successfully, which creates a badge on my site which in turn is a link to an external webpage. Currently, the webpage opens in the same tab however I would like it to open in a new tab and there is no toggle button to do this in the 'code' widget. Can anyone help?

<a href="https://www.spotlight.com/3572-0166-5248"><img src="https://staticassets.spotlight.com/Webmedia/WebsiteFiles/img/static/weblinks/ImInSpotlight_White.gif" alt="Click to view my Spotlight CV" title="Click to view my Spotlight CV" /></a>

Link to comment
  • Replies 3
  • Views 610
  • Created
  • Last Reply
On 7/13/2020 at 10:54 PM, rwp said:

<a href="________________" target="_blank">

 

Hi rwp, thank you for your reply. Could you specify what I should put between the quotation marks in your answer? I tried the following, but the link still opened in the same tab.

<a href="https://www.spotlight.com/3572-0166-5248"><img src="https://staticassets.spotlight.com/Webmedia/WebsiteFiles/img/static/weblinks/ImInSpotlight_White.gif" alt="Click to view my Spotlight CV" title="Click to view my Spotlight CV"target="_blank"> 

Link to comment
7 minutes ago, CillianS said:

Hi rwp, thank you for your reply. Could you specify what I should put between the quotation marks in your answer? I tried the following, but the link still opened in the same tab.

<a href="https://www.spotlight.com/3572-0166-5248"><img src="https://staticassets.spotlight.com/Webmedia/WebsiteFiles/img/static/weblinks/ImInSpotlight_White.gif" alt="Click to view my Spotlight CV" title="Click to view my Spotlight CV"target="_blank"> 

<a href="https://www.spotlight.com/3572-0166-5248" target="_blank"><img src="https://staticassets.spotlight.com/Webmedia/WebsiteFiles/img/static/weblinks/ImInSpotlight_White.gif" alt="Click to view my Spotlight CV" title="Click to view my Spotlight CV"target="_blank"> 

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.