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
๐ŸŒ
W3Schools
w3schools.com โ€บ jsref โ€บ met_win_open.asp
Window open() Method
window.open("http://www.google.com/"); window.open("https://www.w3schools.com/"); Try it Yourself ยป ยท Open a new window.
๐ŸŒ
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
๐ŸŒ
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 ...
๐ŸŒ
W3Schools
w3schools.com โ€บ html โ€บ html_links.asp
HTML Links Hyperlinks
HTML links are hyperlinks. You can click on a link and jump to another document. When you move the mouse over a link, the mouse arrow will turn into a little hand.
๐ŸŒ
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).
๐ŸŒ
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 / tab, add target="_blank" inside the <a> tag: <a href="../html-link.htm" target="_blank">Open page in new window</a>
Find elsewhere
๐ŸŒ
W3Schools
w3schools.com โ€บ cssref โ€บ css3_pr_target-new.php
CSS target-new property
The target-new property specifies whether new destination links should open in a new window or in a new tab of an existing window. Note: The target-new property only works if the target-name property creates a new tab or a new window.
๐ŸŒ
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.
๐ŸŒ
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.
๐ŸŒ
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.
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ article โ€บ how-to-open-link-in-a-new-window-javascript
How to open link in a new window using JavaScript?
When the user clicks the button, the event gets triggered and opens the URL in a new window with some specifications mentioned for that URL. <!DOCTYPE html> <html> <body> <p>Click Button To Open New Window</p> <button onclick="newwindow()">Click</button> <script> function newwindow() { window.open("https://www.tutorialspoint.com/javascript/index.htm", "_blank","toolbar=no,scrollbars=no,resizable=yes,top=500,left=500,width=400,height=400"); } </script> </body> </html>
๐ŸŒ
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 ...
๐ŸŒ
Quackit
quackit.com โ€บ html โ€บ codes โ€บ html_open_link_in_new_window.cfm
HTML Open Link in New Window
Instead of calling your window _blank, you can give it a name of your choosing. Then all URLs will load in that same tab (as long as you use the same name). For example, if you have a policy of loading all external links in a separate tab, you could call that tab, say, external. Then each link that contains target="external" will open in that window/tab.
๐ŸŒ
W3Schools
w3schools.com โ€บ tags โ€บ att_a_target.asp
HTML a target Attribute
The target attribute specifies where to open the linked document. ... If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail: sales@w3schools.com ยท If you want to report an error, or if you want to make a suggestion, send us an e-mail: help@w3schools.com ยท HTML Tutorial CSS Tutorial JavaScript Tutorial How To Tutorial SQL Tutorial Python Tutorial W3.CSS Tutorial Bootstrap Tutorial PHP Tutorial Java Tutorial C++ Tutorial jQuery Tutorial