The form <input> types, elements, and attributes
The HTML5 forms focus on enhancing the existing simple HTML forms to encompass more types of controls and address the limitations that web developers face today. One of the best things about them is that you can use almost all the new input types, elements, and attributes right now and the HTML5 forms are fully backward compatible. The browser, which supports the new HTML5 elements, enhances their features, otherwise the browser, which does not support it, displays them as a textbox.
In this section, we will learn the new HTML5 <form>
elements, such as the <input>
types, elements, and attributes that are introduced to enhance the capabilities of forms.
The <form> <input> types
date
: Thedate
type ...
Get Mastering HTML5 Forms now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.