The forward() method simulates the user clicking the Forward button on the browser.
It returns the browser's page or frame to the next page or frame in its history.
<html> <body> <form> <input type=BUTTON value="Back" onClick="window.back()"> <input type=BUTTON value="Forward" onClick="window.forward()"> </form> </body> </html>