O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required