button inside link 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>