HTML5 Solutions: Essential Techniques for HTML5 Developers
by Marco Casario, Peter Elst, Charles Brown, Nathalie Wormser, Cyril Hanquez
Chapter 4. HTML5 Forms
Forms are an essential part of any web application that requires input by the user.
Since first created with HTML 2.0 specifications, forms have allowed us to make web pages interactive. In fact, through form controls, it is possible for the user to interact with and insert various types of information, which can then be sent to the server to be processed.
HTML 4 provided pretty basic form controls, which were usually text fields and most of the interactivity happened on the server side. Validation of a type of data inserted onto a form control is a classic example of operations that were carried out on the server side with HTML 4, unless they used JavaScript or AJAX frameworks.
With HTML5 forms today, it is possible to develop ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access