clicking on link to open on new tab add # to url code example
Example 1: button open link in new tab
<button class="btn btn-success" onclick=" window.open('http://google.com','_blank')"> Google</button>
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>