open link in a new tab
snippet in html

open link in a new tab

user1529

<a href="https://www.google.com/" rel="noopener noreferrer" target="_blank">google.com</a>

dont use just target="_blank" without  rel="noopener noreferrer" 
It Makes Your Site Vulnerable to Phishing Attacks

html open link in new tab

user9411

<!-- Use the target="_blank" attribute to open a link in a new tab -->
<a href="link" target="_blank">This link is in a new tab.</a>

open link in a new tab hmtl

user461

<a href="https://insert.url" target="_blank">The Website Linked</a>

open link in a new tab

user5514

<a href="thislink.com" target="_blank">My Link</a>

open new tab href

user5448

<a target="_blank" rel="noopener noreferrer" href="http://your_url_here.html">Link</a>

href target new window

user9709

target="_blank"