O'Reilly logo

Mastering HTML5 Forms by Gaurav Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we learned about form validation and their types. We also learned the benefits of the different types of validations. We have also seen the various <input> types and attributes used in the validation of forms.

We have seen the difference between JavaScript validation and HTML5 validation by building a sample code.

Next, we learned about constraint validations and the various APIs supported by HTML5.

Lastly, we saw the various browser-specific default error messages and learned how to change the browser's default error message.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required