Botón OnClick href
<button onclick="window.location.href='/page2'">Continue</button>
STIFLER
<button onclick="window.location.href='/page2'">Continue</button>
onclick="location.href='http://www.hyperlinkcode.com/button-links.php'"
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<form>
<input type="button" onclick="window.location.href = 'https://www.w3docs.com';" value="w3docs"/>
</form>
</body>
</html>
# Wrap whole button in a 'a' tag.
<a href="https://google.com" class="button"><button class="pixel">Button text</button></a>
<input type="button" onclick="location.href='https://google.com';" value="Go to Google" />