The go() method of the History object loads a URL from the history list.
<html> <head> <title> Using the go method of the History object</title> </head> <body> <form name=form1> Click on the button to go back 2 pages. <input type="button" value="Go" onClick='window.history.go(-2)'> </form> </body> </html>