<!-- 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>
<button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>