• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part VI: Appendix > Creating Forms

Creating Forms

Using the XHTML forms elements, you can create pages that interact with your user, responding to typed information, menu choices, checkbox choices, and button clicks. This data can then be sent to a server-side script for processing, sent via e-mail, or processed “client-side” using JavaScript or a similar scripting language.

The <form> Element

The main element of the forms specification is the <form> container, which accepts the attributes method and action. The method attribute accepts either get or post as its value. The get method causes the data from the form to be appended to the URL for the data’s destination. The post method sends the data separately, without any practical limit on the amount of data that can be transferred.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint