Images as forms button

How can I insert an image that serves as a button in a form (eg that can perform submit action)? Pls clarify with CODES. Thanks
Who is Participating?
siabodConnect With a Mentor Commented:
Creat an image, in GIF or JPG format
Create the folowing HTML...or something like this
And that's it

 <INPUT TYPE="text" NAME="TextField" VALUE="">
 <INPUT TYPE="img" SRC="whatever.gif">

I hope it helps you
megariaAuthor Commented:

your codes works, just that it's type="image" and not "img" (gave me some minor complications). Thanks
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.