One, and other elements added HTML5 properties –formIn the past, some of the control elements required for table cell and form submission ( for example, ) must be parent-child on the DOM structure, but in the HTML5 context, form elements and
Function of the enctype attribute of form labels, formenctype
Enctype is the encoding type used by the browser when data is sent back to the server. The encoding types include:
1. application/x-www-form-urlencoded
This is the default encoding type
Form Property
In HTML4 , the subordinate elements within the form must be written inside the form, and in HTML5 , you can write them anywhere on the page, and then specify a property for the element whose form value is the form id , so you
Goal: Detailed form input label Type property common property values
One, the input tag and its type attributeThe Ps:input element can be used to generate a simple text box for the user to enter data. By default, what data can be entered. You can
HTML5: Basic use, HTML5: UseThe single-line text input box type is text, indicating that the input element is a single-line text box, which is the default expression of the input element. The single-line text input box supports the following
When learning PHP, you may encounter the PHP upload picture problem, here will introduce the detailed PHP upload image code to solve this problem, here to take out and share with you. PHP's syntax is very simple, it is the simplicity of it, making
When learning PHP, you may encounter PHP upload file problems, here will introduce the detailed PHP upload file code to solve this problem, here to take out and share with you. PHP's syntax is very simple, it is the simplicity of it, making it the
HTML5New Form attribute
New Form attributes:
L AutoComplete
L novalidate
New input attributes:
L AutoComplete
L Autofocus
L form
L form overrides (formaction, formenctype,Formmethod, formnovalidate, formtarget)
L height and width
L list
L min,
This paper summarizes some HTML5 related basic knowledge, including some HTML5 features that are not used but are more important. For students who need systematic understanding of HTML5 characteristics, you can check gaps in this article. But this
To see an explanation of the elements of the form, see the HTML5 form element here
The elements of the form are mentioned above, so let's take a look at some of the new properties.
I haven't seen it. Links: HTML5 Elements of a form
HTML5 new Form
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.