HTML and CSS Reference
In-Depth Information
Topic
Description, methods, and so on
Page
• setCustomValidity method
59
• validationMessage property
59
• invalid event
60
CSS3 pseudo-classes
Styling invalid elements with CSS3
61
Backward compatibility
Feature detection and unsupported browsers
• Modernizr.js
63
• Polyfills
64
• Validation
65
1 Only the input types and attributes used or discussed in this chapter are listed here. For comprehensive coverage,
visit mng.bz/wj56.
Look for this icon
throughout the chapter to quickly locate the topics
outlined in this table.
This chapter covers
• New HTML5 input types and attributes
data-* attributes, valueAsNumber property, and the <output> element
• Constraint Validation API
• Ways to bypass validation
• CSS3 pseudo-classes
• HTML5 feature detection with Modernizr and backward compatibility with poly-
fill
 
Search WWH ::




Custom Search