Answers for "how to make a href open in new 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
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
5

a tag open in new tabn

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

open link in a new tab hmtl

<a href="https://insert.url" target="_blank">The Website Linked</a>
Posted by: Guest on May-11-2020
9

how to make a link in html that opens in a new tab

add attribute : target = "_blank"
Posted by: Guest on June-07-2020
1

how to make href open in a new tab link html

<a href="https://codegrepper.com" target="_blank" rel="noopener noreferrer"> </a>
Posted by: Guest on January-25-2021

Browse Popular Code Answers by Language