Back to previous page

Read this tip to make your life smarter, better, faster and wiser. LifeTips is the place to go when you need to know about Javascript and other Html topics.

How do I make a javascript text link to the previous page?

Back to previous page

Did you ever wonder how some webpages can have a text link that sends you to your last viewed page (even if it wasn't at thier site)? I did, so I found out. Now I'll share the secret:

<A HREF="javascript: history.go(-1)">Back</A>

You can even try it:




Nobody has commented on this tip yet. Be the first.


URL: (optional)


Not finding the advice and tips you need on this Html Tip Site? Request a Tip Now!

Guru Spotlight
George Sayour