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

Creating a Submit Button

None of the information that your visitors enter will be any good to you unless they send it to the server. You should always create a submit button for your forms so that the visitor can deliver the information to you Image. (You can also use images to submit form data—see “To create a submit button that has an image.”)

Image If you leave out the name attribute, the name/value pair for the submit button will not be passed to the script. Since you usually don’t need this information, that’s a good thing.

<input type="submit" class="create_profile" ...

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