HTML and CSS Reference
In-Depth Information
Chapter 2. Form creation: input widgets, data binding, and
data validation
Chapter 2 at a glance
Topic
Description, methods, and so on
Page
New input types [ 1 ]
HTML5 <input> element types
• email
42
• tel
42
• number
46
• month
49
New input attributes [1]
HTML5 attributes on <input> elements
• required
42
• pattern
49
• autofocus
43
• placeholder
42
• min and max
46
data-* attributes
Storing key/value data in attributes on elements
46
valueAsNumber property
Reading input values in numeric format
54
<output> element
Displaying the output of calculations
47
Preventing validation
Providing means of bypassing client-side validation
• formnovalidate attribute
51
• formaction attribute
51
Constraint Validation API
Client-side API for validation
 
Search WWH ::




Custom Search