How do I fix this HTML code?

aditya

New member
This html code is not loading the musiclife2.html page it is supposed to load, but is instead just reloading the musiclife1.html webpage. It works when I use a button, but with an image it doesn't work. Please help!

<input type="image" src="go.jpg" height="5%" name="Submit" onclick="window.location.href= 'musiclife2.html' ">
 
Back
Top