Answers for "how to create a link in html and open it another tab"

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

how to make links open in a new window

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>
Posted by: Guest on August-02-2020

Code answers related to "how to create a link in html and open it another tab"

Browse Popular Code Answers by Language