xxxxxxxxxx
<a href="your link" target="_blank">The page will open in a new tab.</a>
<!-- Put target="_blank" as shown -->
xxxxxxxxxx
<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 href="#" target="_blank">By this you can open your document in new tab</a>
<a href="#" target="_self"> by this linked document in the same frame as it was clicked (this is default)</a>
<a href="#" target="_parent">by this linked document in the parent frame</a>
<a href="#" target="_top">Opens the linked document in the full body of the window</a>
xxxxxxxxxx
<a href="https://www.google.com/" target="_blank">Open Google in a new tab!</a>
xxxxxxxxxx
<a href="https://www.thesitewizard.com/" rel="noopener noreferrer" target="_blank">thesitewizard.com</a>
<!-- This takes some security considerations into account as doing this can make your site vulnerable. See Link / Source for more info -->
xxxxxxxxxx
You should add the target="_blank" and rel="noopener noreferrer" in the anchor tag.
<a target="_blank" rel="noopener noreferrer" href="http://your_url_here.html">Link</a>
xxxxxxxxxx
// You just have to add target="_blank" to open the link in new tab.
<a href="https://www.thesitewizard.com/" target="_blank">thesitewizard.com</a>
xxxxxxxxxx
# Add these two attributes to your a tag element
target="_blank"
rel="noopener noreferrer"
# Explanation
## target
This attribute tells the browser how to open the link.
## rel
The rel attribute sets the relationship between your page and
the linked URL. Setting it to noopener noreferrer is to prevent
a type of phishing known as tabnabbing.