Logo
  Sunday, May 20, 2012
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

HTML5 Tutorial FeedBurner

The HTML5 <form> Tag  
The HTML5 <form> tag is utilized such that a form that can be answered by the user may be incorporated within the document. The HTML5 <form> tag is also frequently used along with other form elements like the following:
  • <input>
  • <textarea>
  • <button>
  • <select>
  • <option>
  • <optgroup>
  • <fieldset>
  • <datalist>
  • <output>
  • <label>
Using the HTML5 <form> tag is slightly different compared to its functions on HTML4.01. There are some new attributes that are used in HTML5 but are not present in HTML4.01. Aside from that some attributes from HTML4.01 are already considered as obsolete.

Attributes for the HTML5 <form> tag are the following:

Attribute

Value

Description

accept

MIME_type

Not supported in HTML5

accept-charset

character_set

Identifies character encodings

action

URL

Identifies location where to send the form-data upon form submission

autocompleteNew

on
off

Identifies autocomplete on or off

enctype

application/x-www-form-urlencoded
multipart/form-data
text/plain

Identifies how to encode data when submitting it to the server

method

get
post

Identifies the HTTP method

name

text

Identifies the name of a form

novalidateNew

novalidate

Identifies that form validation

target

_blank
_self
_parent
_top

Identifies place of the form response.

Print HTML5 <form> Tag Bookmark HTML5 <form> Tag

Related Articles  
The HTML5 <cite> Tag
The HTML5 <cite> tag is necessary when indicating the title of a specific work that is incorporated in the HTML ...
The HTML5 <acronym> Tag
The HTML5 <acronym> Tag is not supported in HTML5. It is originally used for HTML4.01 to define the acronyms.
The HTML5 <basefont> Tag
The <basefont> tag is not supported in HTML5. This tag is used to set the default font color, font size, and font ...
The HTML5 <legend> Tag
The primary reason why authors of HTML documents have to use HTML5 <legend> tag is because this is important in ...
The HTML5 <colgroup> Tag
The HTML5 <colgroup> tag is necessary when it comes to specifying the set of one or more columns. The column/s ...
The HTML5 <iframe> Tag
There are times when inserting or embedding another document within an HTML document is necessary. During such ...
More