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