html button href new tab code example
Example 1: opem link in new tab html
<a href="your link" target="_blank">The home page will open in another tab.</a>
//Put target="_blank" as shown
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>