To make a button link use the code
<form action="https://google.com">
<input type="submit" value="Go to Google" />
</form>
To make a Back to Page button use the following code.
<form action="javascript: history.go(-1)">
<input type="submit" value="Back to Previous Page">
</form>