how to open link in a new window html code example
Example 1: html open link in new tab
<a href="link" target="_blank">This link is in a new tab.</a>
Example 2: 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>
Example 3: how to make href open in a new tab link html
<a href="https://codegrepper.com" target="_blank" rel="noopener noreferrer"> </a>