Creating the Submit Button

All the information that your visitors enter won’t 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. (You can also use images to submit form data—see page 276.)

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

To create a submit button:

1.
Type <input type="submit".
2.
If desired, type value="submit message" where submit message is the text that will appear ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.