Create a GIF or JPEG image.
Type <input type="image".
Type src="image.url", where image.url is the location of the image on the server.
Type name="label", where label will be appended by x and y and will identify the x and y coordinates sent to the server, when the visitor clicks the image.
Type alt="description", where description will appear if the image does not.
Type the final />
to finish the active image definition for the form.
Figure 17.51. If you use an active image, you don't need a submit button.
Figure 17.52. The same form can have both regular fields (like the radio buttons) and an image map. When the visitor clicks the map, all of the data is sent to the script.
Figure 17.53. This script outputs the coordinates from the mouse click in the image along with the radio button value.