History Object
The forward() method loads the next URL in the history list.
This is the same as clicking the Forward button or history.go(1).
![]()
The forward() method is supported in all major browsers.
Create a forward button on a page:
The output of the code above will be:
History Object
Your message has been sent to W3Schools.