Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

frontpage navigation buttons

  • Please log in to reply

i love bubbles

i love bubbles


  • Member
  • PipPip
  • 58 posts
hello all
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?


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.


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">

these are the coding linksi have please help
  • 0


Neil Jones

Neil Jones

    Member 5k

  • Member
  • PipPipPipPipPipPipPipPip
  • 8,476 posts
Need to put the code in the actual code window in FrontPage, not the WYSIWYG editor. Normally a menu option allows you to toggle.
  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP