how to open link in new tab
snippet in html

how to open link in new tab

user8146

<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

a tag open new tab

user9134

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