You may find it more helpful to provide a back button for your users to allow them to go back where they originally came from. This will also make it easier to program your HTML pages.
Copy and paste the below source code.
<FORM><INPUT TYPE="button" VALUE="Back" on-Click="history.go(-1);return true;"> </FORM>
In the above code the -1 tells the browser to go back one page.