One, new properties of the form
1. Specify the autofocus attribute on input (type= "text"), select, textarea, and button element, which allows the element to automatically get focus when the screen is opened by specifying a property.
2, input, textarea element specifies the placeholder property, it will prompt the user's input, prompting the user to enter the content.
3, input, output, select, TextArea, button, and fieldset specify the form property, declare which form it belongs to, and then place it anywhere on the page, not inside the form.
4, input, textarea element specifies the required attribute, indicating that the user submits the time to check, check that the element must have input content.
5. Input added several properties: AutoComplete, Min, max, multiple, pattern and step. At the same time, a friend uses a new list element with the DataList element. The DataList and AutoComplete properties work together. The Multiple property allows you to upload multiple files at once while uploading a file.
6. Input and button elements add FormAction, Formenctype, FormMethod, Formnovalidate, and Formtarget, and they can reload the action, enctype, The method, Novalidate, and Terget properties, which add a disabled attribute to the FIELDSET element, are used to set his child elements to be invalid.
7, for the input, button, form elements to increase the novalidate attribute, used to cancel the submission of the relevant checks, the form can be unconditionally submitted.
8. Define a Label property for all form elements that can use a label, the property value is a NodeList object, and represents the collection of label elements that the element is bound to.
New properties and deleted properties in HTML5