Contents Introduction to sorts Controls Handle sorts The Sort
factor The INPUT
factor Handle kinds put together with
INPUT Examples of sorts made up of INPUT
controls The BUTTON
factor The Pick out,
Office Standard 2007 Key,
OPTGROUP,
Office 2010 Standard, and Possibility
factors Pre-selected choices The TEXTAREA
factor The ISINDEX
aspect Labels The LABEL
aspect Incorporating construction to forms: the FIELDSET and LEGEND
components Giving concentrate to an aspect Tabbing navigation Accessibility
keys Disabled and read-only controls Disabled controls Read-only controls Sort submission Form submission technique Productive controls Processing type info Phase one particular: Establish the triumphant
controls Phase two: Build up a kind info
set Step three: Encode the kind data
set Phase four: Submit the encoded type
information set Form information types applicationx-www-form-urlencoded multipartform-data Here is a straightforward sort that includes labels, radio buttons,
Office Home And Business, and push buttons
(reset the kind or submit it): <Type action="" method="post"> <P> <LABEL for="firstname">First name: <LABEL> <INPUT type="text" id="firstname"><BR> <LABEL for="lastname">Last name: <LABEL> <INPUT type="text" id="lastname"><BR> <LABEL for="email">email: <LABEL> <INPUT type="text" id="email"><BR> <INPUT type="radio" name="######" value="Male"> Male<BR> <INPUT type="radio" name="######" value="Female"> Female<BR> <INPUT type="submit" value="Send"> <INPUT type="reset"> <P> <FORM> Note. This specification incorporates more detailed
information about kinds in the subsections on type display issues. Note. Authors should note that the BUTTON
component offers richer rendering capabilities than the INPUT
component. Attribute definitions action = uri [CT] This attribute specifies a kind processing agent. User agent behavior for a
value other than an HTTP URI is undefined. process = get|post [CI] This attribute specifies which HTTP technique will be used to submit the sort info set. Possible (case-insensitive) values are
"get" (the default) and "post". See the section on sort submission for usage information. enctype = content-type [CI] This attribute specifies the content type
used to submit the form to the server (when the value of approach
is "post"). The default value for this attribute is "applicationx-www-form-urlencoded". The value "multipartform-data" should be used in combination with the INPUT aspect, type="file". accept-charset
= charset list [CI] This attribute specifies the list of character encodings for input
data that is accepted by the server processing this form. The value is a space-
andor comma-delimited list of charset
values. The client must interpret this list as an exclusive-or list,
Microsoft Office 2010 Professional, i.e.,
Office 2007 Ultimate, the
server is able to accept any single character encoding per entity received. The default value for this attribute is the reserved string "UNKNOWN". User
agents may interpret this value as the character encoding that was used to
transmit the document made up of this Kind factor. accept = content-type-list [CI] This attribute specifies a comma-separated list of subject matter sorts that a
server processing this type will handle correctly. User agents may use this
information to filter out non-conforming files when prompting a user to decide upon
files to be sent to the server (cf. the INPUT aspect when type="file"). name = cdata [CI] This attribute names the aspect so that it may be referred to from style
sheets or scripts. Note. This attribute has been included for
backwards compatibility. Applications should use the id attribute to establish factors.