open new tab when clicking link html
snippet in html

open page with html

user1088

<!DOCTYPE html>
## Code by Scratchy (Twitter @S_cratchy)
<html>
<body>

<a href="https://www.Google.com" target="_blank">Gooooooooogle!</a> 

</body>
</html>

how to make links open in a new window

user4706

The short answer is: just add a target="_blank" attribute to your links (anchor tags).

<a href="https://www.thesitewizard.com/" target="_blank">thesitewizard.com</a>

a tag open in new tab

user2762

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

open new tab when clicking link html

user5166

<!-- add target="_blank" to open new tab when link is clicked [in HTML]-->
<a href="YourLink" target="_blank">YourText</a>

open link in new tab

user8341

<a href="The link of the page" target="_blank">Open page in new tab</a>