button onclick href in button tag code example
Example 1: onclick href
onclick="location.href='http://www.hyperlinkcode.com/button-links.php'"
Example 2: button href
<a href="https://google.com" class="button">Go to Google</a> //*button link *//