Answers for "html button link open in 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
1

href open new tab html

<a href="https://www.freecodecamp.org/" target="_blank">freeCodeCamp</a>
Posted by: Guest on August-02-2021

Browse Popular Code Answers by Language