anchor tag on click open in new tab code example
Example 1: open anchor tag in new tab
<a href="https://youtu.be/dQw4w9WgXcQ" target="_blank">Use _blank</a>
Example 2: open new tab when clicking link html
<!-- add target="_blank" to open new tab when link is clicked [in HTML]-->
<a href="YourLink" target="_blank">YourText</a>