<p>Add <code>target="_blank"</code> to the link.</p>

<p>Like so: <code>&lt;a href="http://google.com" target="_blank"&gt;Opens in new window&lt;/a&gt;</code></p>

CC BY-SA 3.0
2017-01-05T12:42:21.927Z
Thank you for your reply.   I have tried this but as the section I need to edit is a button link it doesn't accept HTML and the CMS doesn't allow me to see the HTML editor in that section of entries.  We only access the CMS to make small amendments and the developer didn't help us much.
LBS
CC BY-SA 3.0
2017-01-05T14:35:09.580Z
Even if this the solution to your question (which is indeed off-topic) the devs maybe have their reasons to not open the link in a new tab/window. However, if the user wants to open the link in a new tab he is probably smart enough to use `Ctrl+Click` or sth. Take a look at this one: https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/
Johannes
CC BY-SA 3.0
2017-01-05T11:46:58.983Z
2017-01-05T11:46:58.983Z
Stian Karlsen
<p>I have a URL to an external website within one my site's pages.  I want this to open in a new window.  I don't want the viewer to move off our website but will want them to click on the link to our third party.
How do I get the link to open in a new window?
thanks</p>

CC BY-SA 3.0
2017-01-05T11:49:43.057Z
I'm voting to close this question as off-topic because it is a very general HTML 101 question.
Patrick Harrington
CC BY-SA 3.0
2017-01-05T12:27:13.717Z
Thank you.  But please bear in mind that not everyone on here is a HTML expert.
LBS
<url>
How do I get a URL link to open in a new window once clicked
# How do I get a URL link to open in a new window once clicked

(Asked by: username_0 on 2017-01-05)

I have a URL to an external website within one my site's pages. I want this to open in a new window. I don't want the viewer to move off our website but will want them to click on the link to our third party.
How do I get the link to open in a new window?
thanks

**Tags:** url

> **Comments:**
> **username_1**: I'm voting to close this question as off-topic because it is a very general HTML 101 question.  
> **username_0**: Thank you.  But please bear in mind that not everyone on here is a HTML expert.  

---

## 1 answers

### Answer by username_2 on 2017-01-05. Score: 1 | Accepted answer

Add `target="_blank"` to the link.

Like so: `Opens in new window`

> **Comments:**
> **username_0**: Thank you for your reply.   I have tried this but as the section I need to edit is a button link it doesn't accept HTML and the CMS doesn't allow me to see the HTML editor in that section of entries.  We only access the CMS to make small amendments and the developer didn't help us much.  
> **username_3**: Even if this the solution to your question (which is indeed off-topic) the devs maybe have their reasons to not open the link in a new tab/window. However, if the user wants to open the link in a new tab he is probably smart enough to use `Ctrl+Click` or sth. Take a look at this one: https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/  

---

