HTML – Back to Previous Page

3d Animation

To add an HTML back button to any link use the following code which uses the history.back() function. This works the same as the browser’s back button to take the visitor back to the previous page.


<a href="javascript:history.back()">Previous Page</a>