Look-Ma-No-Hands HTML Tricks : "Go Previous (Go Back)" Button

Updated on : 02-02-2002
No Java, no plugins, no nothing. Just a simple and stunningly useless HTML trick. It may even not always work depending on the kind/version of the browser you use. But what do I care?!

Your browser is equipped with an arrow that takes you back to previously-viewed pages. Placing another button that emulates the very same function and that not as efficiently will be singularly redundant. And yet, here we go!

This is how it's written:

<form>
<input type="button" value="Back" onclick="history.go(-1);">
</form>