open website link in new tab html code example
Example 1: open link in new tab
<a href="https://www.google.com/" rel="noopener noreferrer" target="_blank">google.com</a>
dont use just target="_blank" without rel="noopener noreferrer"
It Makes Your Site Vulnerable to Phishing Attacks
Example 2: how to make html open link in new tab
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<a href="INSERT LINK" target="_blank">NAME</a>
</body>
</html>
// code by Tyler100OOO (Twitter @TylerCode1)