Creating Image Fields

Another form element that you can use in you Web pages is the inline image. Inline images can act like Submit buttons so that when the user clicks the image, the form is submitted. You create inline images using the <INPUT> tag, but with the TYPE property set to IMAGE. The syntax for this type of form element is:


where URL is the filename or URL of the inline image, text is the name of the field, and the VALUE property assigns a value to the image.