how to make button link to other page
//To make button work like a tag do this:
<button type="button" onclick="window.location.href='index.html'">Go Back</button>
how to make button link to other page
//To make button work like a tag do this:
<button type="button" onclick="window.location.href='index.html'">Go Back</button>
how do i make a link of a button go on a different page
<button type="button" onclick="window.location.href='the link you want the button to take you to'">Click me</button>
How to create an HTML button that acts like a link
<!-- VIA HTML -->
<form action="https://google.com">
<input type="submit" value="Go to Google" />
</form>
<!-- VIA CSS -->
<a href="https://google.com" class="button">Go to Google</a>
a.button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
text-decoration: none;
color: initial;
}
<!-- VIA JAVASCRIPT -->
<input type="button" onclick="location.href='https://google.com';" value="Go to Google" />
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us