How Can I get a www link to open in a new window?

  • 3
  • Question
  • Updated 10 years ago
Can I get a link to another web page to open in a NEW WINDOW?
Photo of davetown_bob


  • 1 Post
  • 0 Reply Likes
  • frustrated

Posted 12 years ago

  • 3
Photo of Awesome-O'Sean


  • 58 Posts
  • 9 Reply Likes
Official Response
Hi there,

You could try reading the following related thread :

Instead of the <img .... /> part your can just add your link text.

Hope this helps.

Photo of Amy


  • 1 Post
  • 0 Reply Likes
Hi, I am confused as I have no idea about HTML.

If I put "Visit website", for some reason, there is a box around "Visit Website". How do I get rid of it?

Photo of Marije


  • 4636 Posts
  • 237 Reply Likes
Hi Amy,

Perhaps these steps will help;-

1. Add an image using the text widget (drop a text widget and click "insert image" on the text editing toolbar - it is the icon that looks like a picture in a frame).
2. Click on the image and then click "insert link" on the text editing toolbar.
3. Create your link to your chosen URL as normal.
4. Then click "HTML" - the last icon on the text editing toolbar.
5. You will see the code that looks like this for your image link (using SynthaSite's website and one of my own images as an example):

<!-- <a href="">&lt;img src="resources/image.jpg"></a> -->

All you need to do is add in target="blank" as show below:
<!-- <a href="" target="blank"><img src="resources/image.jpg"></a> -->

6. Please ignore <!-- and --> they are there to stop the code from being interpreted.
7. Please remember to include any folder names in the path if your file is stored in a folder. For example: ` "resources/Pictures/image.jpg" `

Your image link will then open in a new tab or window, depending on what browser your visitor is using.

Please note: current thinking in web usability circles is that links that open in a new window are a bad idea for a number of reasons. See:, for a great article by a leading expert in the field.
Photo of Jason Matthews

Jason Matthews

  • 2 Posts
  • 0 Reply Likes
it works great, thanks for adding to my limited HTML knowledge!
Photo of Sanja


  • 10698 Posts
  • 495 Reply Likes
Great to hear Jason!
Photo of Jason Matthews

Jason Matthews

  • 2 Posts
  • 0 Reply Likes
I wish Yola just had a little box to check for OPEN IN A NEW WINDOW like they do at when you add an external link.
Photo of Brianna


  • 2045 Posts
  • 92 Reply Likes
Hello Jason,
Thank you for your feedback. We are aware that this is something our user's would like to see and the idea of implementing it is being spoken of. Thanks again!