Attributes in form tag in HTML

Following is a table of list of attributes in form tag, including newer tags in html5.

Attribute Value Description
accept MIME_type Not supported in HTML5. Specifies the types of files that the server accepts (that can be
submitted through a file upload)
accept-charset character_set Specifies the character encodings that are to be used for the form
action URL Specifies where to send the form-data when a form is submitted
Specifies whether a form should have autocomplete on or off
enctype application/x-www-form-urlencodedmultipart/form-datatext/plain Specifies how the form-data should be encoded when submitting it to the
server (only for method=”post”)
method getpost Specifies the HTTP method to use when sending form-data
name text Specifies the name of a form
novalidate Specifies that the form should not be validated when submitted
target _blank_self_parent_top Specifies where to display the response that is received after submitting the form

* – Newer Tags in html5

Source – Internet


Posted on February 28, 2013, in Web and tagged , , , , . Bookmark the permalink. 2 Comments.

  1. I couldn’t refrain from commenting. Well written!

  2. I just like the helpful info you provide for your
    articles. I’ll bookmark your weblog and check again here regularly. I am relatively sure I will be informed plenty of new stuff proper here! Good luck for the next!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: