Answers for "open in new window"

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
84

opem link in new tab html

<a href="your link" target="_blank">The home page will open in another tab.</a>

<!--  Put target="_blank" as shown -->
Posted by: Guest on July-18-2020
10

html open link in new tab

<!-- Use the target="_blank" attribute to open a link in a new tab -->
<a href="link" target="_blank">This link is in a new tab.</a>
Posted by: Guest on October-17-2020
5

a tag open in new tabn

<a target="_blank" href="https://example.com">Link text</a>
Posted by: Guest on August-01-2020
3

open link in a new tab

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

javascript open new window

<a onclick="window.open(document.URL, '_blank', 'location=yes,height=570,width=520,scrollbars=yes,status=yes');">
Open New Window
</a>
Posted by: Guest on February-13-2020

Browse Popular Code Answers by Language