Guide to creating a web site, web design, web development, internet marketing, promotion, html tips and tricks, javascript and more.

Your Guide to Professional
Web Site Design and Development

HTML Tips
HTML Codes
Web Development
Web Design Tips
JavaScript Codes
216 Web Safe Colors
CSS Tutorial
JavaScript Tutorial
ASCII Character Codes

Offering Free Javascript Tips, Snippets and Codes

Open Directory Projectfree ebooksfree articles
web site design development internet marketing and promotion tutorials

| Web Site Development | HTML Codes | HTML Tips | Web Design TipsJavascript Snippets | 216 Safe Colors | Symbols | CSS Tutorial | JavaScript Tutorial |

webmaster resources
website design



Back to Previous Page with an Image

You can enable your visitors to click on an image to be taken back to the previous page they were on. The following JavaScript will enable you to do just that. This JavaScript code is great for use in tutorials, slide shows, articles, tips, or whatever you'd like.


Copy and paste this code into your HTML where you would like the image to appear:

<A HREF="javascript: history.go(-1)"><IMG BORDER="0" SRC="yourimage.gif" WIDTH="20" HEIGHT="20"></A>

Edit the text indicated in bold to suit your needs. The yourimage.gif text
should be replaced with the name of your image, which resides on your server.

Using this little JavaScript snippet is a great way to enable your visitors to navigate your web site.





Submit your JavaScript code snippets. We'll credit you and give you a link to your website.