Using this method is the same as clicking the browser's Back button, i.e. it undoes the last navigation step performed from the current top-level window.
<input type="button" value="Go back" onClick="window.back()">
This example creates a button on the page that acts the same as the browser's back button.