Chapter 8: New Forms

Levels of support for the various form elements, especially those with on-screen controls, vary wildly among browsers and are changing all the time. Rather than try to capture that here, I’ll refer you to the HTML5 Test, which has the most comprehensive and up-to-date coverage. Using the new input types is generally considered safe, as the browser will fall back to the text type if a different value is not recognized.

The Constraint Validation API is present in IE10 and all other major browsers. Safari supports the API but has no on-screen error notifications.

Get The Modern Web 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.