button with anchor link code example
Example 1: html button with link
<a href="https://www.google.com">
<button>Go to Google</button>
</a>
Example 2: button href
<a href="https://google.com" class="button">Go to Google</a> //*button link *//
<a href="https://www.google.com">
<button>Go to Google</button>
</a>
<a href="https://google.com" class="button">Go to Google</a> //*button link *//