1//To make button work like a tag do this:
2<button type="button" onclick="window.location.href='index.html'">Go Back</button>
1<button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>
1<form action="https://google.com">
2 <input type="submit" value="Go to Google" />
3</form>
4
1<input type="button" onclick="location.href='https://google.com';" value="Go to Google" />
2
1a.button {
2 -webkit-appearance: button;
3 -moz-appearance: button;
4 appearance: button;
5
6 text-decoration: none;
7 color: initial;
8}
9