button to other page html 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>
Example 3: html button with href
<form method="get" action="/page2">
<button type="submit">Continue</button>
</form>