Using an Image to Submit a Form

You may use an image alone as an input element to submit a form. Sometimes the designer creates a button that is beyond the capabilities of CSS3, even with its fancy gradients, shadows, and rounded corners Image.

Image If you use an image, you don’t need a submit button.

<input type="image" alt="Create Account" src="blue-submit-button.png" />

Image Use an image to submit a form when CSS isn’t enough.

To use an image to submit ...

Get HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.