button href
snippet in html

html button link

user8903

<button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>

buton html href

user1516

<!-- if you are on Window : --> 
<button onclick="window.location.href='page2.html'">
  Button
</button>

<!-- if you are on linux or macOS : -->
<button onclick="location.href='page2.html'">
  Button
</button>

href on a button

user1127

<button onclick="window.location.href='/page2'">Continue</button>

button href

user3932

<a href="https://google.com" class="button">Go to Google</a> //*button link *//

button href

user1789

<a href="https://google.com" class="btn btn-primary">Go to Google</a>

button href

user8431

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
    color: initial;
}