button href
<!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><button onclick="window.location.href='/page2'">Continue</button><a href="https://google.com" class="button">Go to Google</a> //*button link *//a.button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
text-decoration: none;
color: initial;
}<a href="https://google.com" class="btn btn-primary">Go to Google</a><button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>