HTML and CSS Reference
In-Depth Information
action=" URL
URL "
Required . Specifies the URL of the application that will process the form. The default is
the current URL.
autocomplete="on|off"
Not in HTML 4.01 . Allows the user agent (browser) to fill in a field automatically ( on )
or requires the user to enter the information every time ( off ).
enctype=" content type
content type "
Specifies how the values for the form controls are encoded when they are submitted to the
server when the method is post . The default is the Internet Media Type ( application/
x-www-form-urlencoded ). The value multipart/form-data should be used in combin-
ation with the file input element. The new text/plain value sets the MIME type to text/
plain.
method="GET|POST"
Specifies which HTTP method will be used to submit the form data. With get (the de-
fault), the information is appended to and sent along with the URL itself.
name=" text
text "
Assigns a name to the form.
novalidate ( novalidate="novalidate" in XHTML)
Not in HTML 4.01 . Indicates that the form is not to be validated during submission.
target=" name
name "
Specifies a target for the results of the form submission to be loaded so that results of a
form can be displayed in another window or iframe . The special target values _bottom ,
_top , _parent , and _self may be used.
Search WWH ::




Custom Search