open link in new tab don't switch html code example
Example 1: html open things in new tab
<a href="/" target="_blank">The home page will open in another 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>