Back and Forward Button

Creating Back and Forward with java script

On a web page we often see links navigation such as Back to return to the previous page and Forward to go to the page we've ever opened before.

You can create navigation links by using java script like the example below.

<a href="javascript:history.back(1)"> Back </ a>
<a href="javascript:history.forward(1)"> Forward </ a>


Post a Comment