Answers for "a tag open link in new window"

3

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>
Posted by: Guest on August-02-2020
0

a tag open in new tab

<a href="https://www.empiricinfosys.com" target="_blank" rel="noopener noreferrer">freeCodeCamp</a>
Posted by: Guest on June-10-2021

Browse Popular Code Answers by Language