how to make a button link to another website in html code example
Example 1: html button with link
<a href="https://www.google.com">
<button>Go to Google</button>
</a>
Example 2: How to create an HTML button that acts like a link?
<button onclick="window.location.href='test.html'">Continue</button>