link another page with a button in html code example
Example 1: html button with link
<a href="https://www.google.com">
<button>Go to Google</button>
</a>
Example 2: html button with link
<form action="https://google.com">
<input type="submit" value="Go to Google" />
</form>