Answers for "how to make a button open a link in a 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

Code answers related to "how to make a button open a link in a new tab"

Browse Popular Code Answers by Language