html open new page code example
Example 1: 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>
Example 2: how to make a link in html that opens in a new tab
add attribute : target = "_blank"
Example 3: a tag open in new tab
<a href="#" target="_blank" rel="noopener noreferrer">Link</a>
Example 4: how to open in new page link html
<a href="https://insert.url" target="_blank" rel="noopener noreferrer">The Website Linked</a>
Example 5: html new page
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h1>The a target attribute</h1>
<a href="https://www.w3schools.com" target="_blank">Visit W3Schools.com!</a>
<p>thank you w3schools :)</p>
<p>If you set the target attribute to "_blank", the link will open in a new browser window or a new tab.</p>
</body>
</html>