Set the target attribute of the link to _blank:

<a href="#" target="_blank" rel="noopener noreferrer">Link</a>

For other examples, see here: http://www.w3schools.com/tags/att_a_target.asp


Note

I previously suggested blank instead of _blank because, if used, it'll open a new tab and then use the same tab if the link is clicked again. However, this is only because, as GolezTrol pointed out, it refers to the name a of a frame/window, which would be set and used when the link is pressed again to open it in the same tab.


Security Consideration!

The rel="noopener noreferrer" is to prevent the newly opened tab from being able to modify the original tab maliciously. For more information about this vulnerability read the following articles:

  • The target="_blank" vulnerability by example
  • External Links using target='_blank'
Answer from SharkofMirkwood on Stack Overflow
🌐
RapidTables
rapidtables.com › web › html › link › html-link-new-window.html
HTML link in a new window
In order to open a link in a new window, add Javascript command onclick="window.open('text-link.htm', 'name','width=600,height=400') inside the <a> tag: <a href="../html-link.htm" target="popup" onclick="window.open('../html-link.htm','name','width=600,height=400')">Open page in new window</a>
🌐
W3Schools
w3schools.com › tags › tryit.asp
W3Schools online HTML editor
The W3Schools online code editor allows you to edit code and view the result in your browser
🌐
Atlassian
developer.atlassian.com › server › confluence › how-do-i-make-my-attachments-open-in-a-new-window-or-a-tab
How do I make my attachments open in a new window or a tab?
add the parameter TARGET = "_blank" to the <a href> HTML tag, which will cause the URL specified in the href parameter to open in a new window or a new tag depending upon the option set in the browser.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › API › Window › open
Window: open() method - Web APIs | MDN
The open() method of the Window interface loads a specified resource into a new or existing browsing context (that is, a tab, a window, or an iframe) under a specified name.
🌐
W3Docs
w3docs.com › html
How to Open Hyperlink in a New Window
To open a link in a new window, you need to add the target="_blank" attribute to your anchor link, like the following. <!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <h1>Hyperlink Example</h1> <p> This <a ...
Find elsewhere
🌐
HTML AM
html.am › html-codes › links › open-link-in-new-window.cfm
Open Link in New Window
The quickest way to open a link in a new window is to add target="_blank" to your <a> tag (which of course, is the HTML tag to create a link).
🌐
CSS-Tricks
css-tricks.com › snippets › html › open-link-in-a-new-window
Open Link in a New Window | CSS-Tricks
May 14, 2013 - Here’s more people with the same issue stackoverflow link ... has usually always worked on every browser. target=”new” not so much however but target=”_new” usually does. ... Hello HarBek… You can use target=”_anything” ….This is not complusory to use “new” after underscore….because this is not a keyword..Any browser can take it as command to open new window.. :) ... This topic is missing something important. Is there a way using CSS and HTML to open internal links in same window and external links in new window?
🌐
The Sitewizard
thesitewizard.com › html-tutorial › open-links-in-new-window-or-tab.shtml
How to Make Links Open in a New Window or Tab (thesitewizard.com)
If you are using Expression Web, ... (see the tutorials listed earlier in the Prerequisites section to find out how to do this), and add the target="_blank" attribute....
🌐
Educative
educative.io › answers › how-to-open-hyperlinks-in-a-new-window-in-html
How to open hyperlinks in a new window in HTML
By default, it opens the target URL in the same tab. This default behavior can be changed in one of two ways. The simplest way is using the target attribute. The '_blank' tells the browser to use a new window or tab.
🌐
Quackit
quackit.com › html › codes › html_open_link_in_new_window.cfm
HTML Open Link in New Window
As the above example demonstrates, to open a link in a new window, you simply add target="_blank" to the anchor tag.
🌐
Equalize Digital
equalizedigital.com › home › link opens new window or tab
Opening Links in New Windows or Tabs: Accessibility Guidance
August 28, 2025 - A link that opens a new window ... include target="_blank" in the <a> tag, which tells the browser to open the new window or tab rather than following the link in the current tab.
🌐
freeCodeCamp
freecodecamp.org › news › how-to-use-html-to-open-link-in-new-tab
How to Use HTML to Open a Link in a New Tab
September 8, 2020 - You just need an anchor (<a>) element with three important attributes: The href attribute set to the URL of the page you want to link to, The target attribute set to _blank, which tells the browser to open the link in a new tab/window, depending ...
🌐
OutSystems
outsystems.com › forums › discussion › 65977 › open-link-in-a-new-window-not-tab
Open link in a new window (NOT TAB) | OutSystems
I have a link on my page, and I want it to open it in a new window (not a new tab) when clicking it. Currently, this link points to a new screen action, and in this new screen action I have a RunJavaScript server action with the following script: · However, it still open the link in new tab ...
🌐
GeeksforGeeks
geeksforgeeks.org › html › how-to-open-a-hyperlink-in-another-window-or-tab-in-html
How to Open a Hyperlink in Another Window or Tab in HTML? - GeeksforGeeks
November 23, 2024 - In HTML, this can be easily achieved using the 'target' attribute of the anchor ('<a>') tag. By setting 'target="_blank"', you instruct the browser to open the linked document in a new tab or window.