Forms

The 'form' concept gives the user the ability to send information back to the Web server. The document may contain a questionnaire, for example, which the user fills in and returns. A Form element encloses the entire form. It may contain all the normal elements described above (including the particularly useful table-building elements described above), plus the form-building elements described in this section. However, it must not contain an embedded Form element.

Sending a form

The Form element has a required attribute called Action, which identifies (using a URL) a script that can process the form when it is submitted, and an Encoding Type (Enctype) attribute that specifies the MIME type used to submit data to the server (the default ...

Get XML Companion, The, Third Edition 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.