how to link a button to a page in html code example
Example 1: html button link
<button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>
Example 2: html button with link
<a href="https://www.google.com">
<button>Go to Google</button>
</a>
Example 3: how to add button to open a website using html
<button onclick="window.open('http://www.example.com')">
</button>
Example 4: a link button
<input type="button" onclick="location.href='https://google.com';" value="Go to Google" />
Example 5: html button with link
<form action="https://google.com">
<input type="submit" value="Go to Google" />
</form>
Example 6: link to external site html
<a href="https://www.example.com">This is a link</a>