href open in new window html code example
Example 1: a tag open in new tabn
<a target="_blank" href="https://example.com">Link text</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>