i am trying to finish off my webpage but i cant create a hyperlink for my backward and forward buttons on my page so that people can go back to the last page. i have some coding but i dont know where to put it in to make it work.
How do I create a "back" button or link on my site?
A.
There are several ways to do this.
You can create a hyperlink to an image or text using the following code:
<a href="java script:history.go(-1)">Back</a>
Note: (-1) means go back one page. So, for example (-2) would be go back two pages.
or:
You can use:
<a href='java script:history.back()'>Back</a>
For "Buttons" you can use:
<form method="POST" action="java script:history.go(-1)">
<input type="submit" value="Back" name="Back">
</form>
these are the coding linksi have please help