Forms Module


 

Reference: *Forms Module at the W3C

Elements in this Module

form, label, input, textarea, select, optgroup, option, button, fieldset, legend

Types of input Element

input type="button", input type="checkbox", input type="file", input type="hidden", input type="image", input type="password", input type="radio", input type="reset", input type="submit", input type="text"

Description

The Forms Module contains the elements necessary to create XHTML forms, allowing input of user data and file upload.

Although not detailed here, the Basic Forms Module allows only for simple forms and declares only the elements: form, label, input ( but not input type="button", input type="file" or input type="image" ), textarea, select and option. Also, the Basic Forms Module declares only a subset of the attributes declared by the full Forms Module on these elements. (For more information, see *W3C XHTML 1.1 Basic Forms Module - and no, I don't know why they have declared a src attribute on the input element in the Basic Forms Module even though they don't allow type to be "image".)
The full Forms Module is automatically selected in the standard XHTML 1.1 DTD.


Page Footer & Copyright

Copyright © Sally Maughan 2005-2009 (Page last updated on 16 May 2009)

*Valid XHTML 1.1 - hosted by *Openstrike

Content based on the W3C Working Draft: *XHTML 1.1 and Recommendation: *XHTML Modularisation 1.1.

W3C, XHTML, XML, HTML, CSS and MathML are *Trademarks of the W3C (*MIT, *ERCIM, *Keio) with which the site's author has no connection.


Up, Next & Previous Links

Your Location

Home > XHTML 1.1 Home > XHTML 1.1 Indexes > Module Index (XHTML 1.1) > Forms Module (XHTML 1.1)