<input type="button" onclick="location.href='https://google.com';" value="Go to Google" /> <a href="https://google.com" class="button">Go to Google</a>