button type lnik html code example
Example 1: href in button
<input type="button" onclick="location.href='https://google.com';" value="Go to Google" />
Example 2: html button click url
# Wrap whole button in a 'a' tag.
<a href="https://google.com" class="button"><button class="pixel">Button text</button></a>