HTML and CSS Reference
In-Depth Information
disabled ( disabled="disabled" in XHTML)
Disables the control for user input. It can be altered only via a script. Browsers may dis-
play disabled controls differently (grayed out, for example), which could be useful for
dimming certain controls until required information is supplied. Applies to all input types.
form=" id of the form owner
id of the form owner "
Not in HTML 4.01 . Explicitly associates the input control with its associated form (its
form owner ). With this method, the input control does not need to be a child of the applic-
able form element. Applies to all input types.
formaction=" URL
URL "
Not in HTML 4.01 . Specifies the application that will process the form. It is used only
with a submit button ( type="submit" or "image" ) and has the same function as the ac-
tion attribute for the form element.
formenctype=" content type
content type "
Not in HTML 4.01 . Specifies how the form values are encoded with the post method
type. It is used only with a submit button ( type="submit" or "image" ) and has the same
function as the enctype attribute for the form element. The default is Internet Media Type
(application/x-www-form-urlencoded ). The value multipart/form-data should be
used in combination with the file input type. The text/plain value sets the MIME type
to text/plain .
formmethod="get|post"
Not in HTML 4.01 . Specifies which HTTP method will be used to submit the form data.
It is used only with a submit button ( type="submit" or "image" ) and has the same func-
tion as the method attribute for the form element.
formnovalidate ( formnovalidate="formnovalidate" in XHTML)
Not in HTML 4.01 . Indicates that the form is not to be validated during submission. It is
used only with a submit button ( type="submit" or "image" ) and has the same function
as the novalidate attribute for the form element.
Search WWH ::




Custom Search