Answers for "a href on click open new tab"

3

button open link in new tab

<button class="btn btn-success" onclick=" window.open('http://google.com','_blank')"> Google</button>
Posted by: Guest on May-25-2021
3

open new tab href

<a target="_blank" rel="noopener noreferrer" href="http://your_url_here.html">Link</a>
Posted by: Guest on June-01-2020

Browse Popular Code Answers by Language