Answers for "html button 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
10

open link in a new tab hmtl

<a href="https://insert.url" target="_blank">The Website Linked</a>
Posted by: Guest on May-11-2020
1

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>
Posted by: Guest on January-07-2021

Browse Popular Code Answers by Language