O'Reilly logo

HTML5: Your visual blueprint™ for designing rich web pages and applications by Adam McDaniel

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

HTML FORM TAGS

All HTML form tags support the standard global attributes, described earlier in this appendix in the section “HTML Global Attributes.”

Basic Form Structure

From a high level, an HTML form requires only an appropriately created <form> tag group. All other tags can be used only within this group.

 

<form> . . . </form>

When defining an HTML form, you must configure where the submitted data is to be sent to, which is the URL defined in the action attribute, and how it is to get there, which is the method attribute. After that, you still need to be concerned with the CGI program that will be accepting the form input so that you can process the user’s form submission request.

 <form action='URL' method='method'>
 </form>

Several ...

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