I am trying to figure out how to make my submit button image change to another image when the cursor hovers over it. Here's my code so far:
<!DOCTYPE>
<html>
<body>
<form>
<font face="Arial">Please type your name below and click submit.</font>
<br />
<input type="text">
<p>
<input type="image" src="..\Pictures\submit_button_img.jpg" alt="submit" >
</p>
</form>
</body>
</html>
This code works, I just don't know how to switch the image when the cursor hovers over it. Any suggestions? I'd like it to be in CSS or JavaScript, please.