The History forward() method in HTML is used to load the next URL in the history list. It has the same practical application as the forward button in the web browsers. This method will not work if the next page will not exist in the history list.
Below program illustrates the History forward() method in HTML:
After click on the button:
Supported Browsers: The browser supported by History forward() method are listed below:
- Google Chrome
- Internet Explorer