The back() method is used to load the URL for the previously visited Web site. Using the back method of the History object Click on the button to go back to the previous page.