HTML and CSS Reference
In-Depth Information
2
HTML5 forms
This chapter covers
New input types in HTML5
HTML5 form features for improved user experience
Automatic client-side form validation
Forms are fundamental components of web applications. This chapter
starts with a quick review of the limited options offered in
HTML4
and
then moves on to the new form controls
HTML5
adds. We'll investigate
the built-in validation features offered in
HTML5
and then look at more
new field types that take advantage of that functionality. After that, we'll
examine some other new features in
HTML5
forms, such as placeholder
38