HTML 'back' option

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Hi

I have this code

-->

Which creates a nice back button, however I would like to create my own back button image instead of the one this code produces. Does anybody know how I can apply my own image URL to it?

thanks
Stewart
Photo of Stewart Scott

Stewart Scott

  • 121 Posts
  • 3 Reply Likes
  • always happy

Posted 9 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello Stewart,

Here is the code that will do what you are wanting to do. You will need to replace filename.jpg with the name of your file that you want to be the Back button, and you can remove the <!-- at the beginning and the --> at the end.

<!--
<INPUT TYPE="image" src="resources/filenam.jpg" VALUE="Back" onClick="history.go(-1);">
-->

Hope this helps!

Emmy
Photo of Stewart Scott

Stewart Scott

  • 121 Posts
  • 3 Reply Likes
Thank You very much