html button with link
snippet in html

html button with link

user2744

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

html button link

user3392

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

buton html href

user3969

<!-- 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

user8168

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

html button with link

user6236

<form action="https://google.com">
    <input type="submit" value="Go to Google" />
</form>

html button with link

user5869


<button 
  onclick="document.location='default.asp'">HTML Tutorial</button>