HTML Web Page Back Button
An html web page back button will enable your visitors to click on a button to navigate their browser history. This will make it convenient for them to go back to the previous page they were on or even go forward through their browser history.
If you would like to enable your visitors to click a button to navigate their history, place the following codes within the HTML of your web page where you would like the buttons to appear.
<input type="button" value="Back" onclick="history.back();">
<input type="button" value="Forward" onclick="history.forward();">
Edit the text indicated in bold to whatever you’d like.
Keep in mind, the forward button will only navigate to a page you have previously visited.
By using back and forward history buttons within your web page, you will be adding additional web page navigation for your visitors.
This concludes the html web page back button section.
Visit the following pages for a wealth of copy and paste codes and tips:
Copy and paste special effect HTML codes for your web page.
An HTML codes chart you can use to copy and paste codes into your web page.
HTML Color Codes
An HTML color codes chart you can use to copy and paste color codes into your web page.
Web Design Tips
Tips, tricks, and special effect codes for your web page.
A list of HTML tags.
HTML 5 Tags
A list of the latest HTML tags to be developed.
Special text characters and code for your web page.