Answers for "on click open new tab html"

19

open page with html

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

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

</body>
</html>
Posted by: Guest on November-23-2019
3

open link in a new tab

<a href="thislink.com" target="_blank">My Link</a>
Posted by: Guest on May-09-2020
1

open new tab when clicking link html

<!-- add target="_blank" to open new tab when link is clicked [in HTML]-->
<a href="YourLink" target="_blank">YourText</a>
Posted by: Guest on January-07-2021

Browse Popular Code Answers by Language