Form Validation Using HTML5

HTML5 is a markup language, which is used for structuring web page contents on the World Wide Web and a core technology of the Internet. All major browsers like : (Chrome, Firefox, Internet Explorer, Safari and Opera) supports the HTML5 elements tags, and continue to add new HTML5 features to their latest versions.

In this post i will explain how to validate form using html5 without using any javascript OR jquery code.

html5-form-validations

Input Types For Email

If any email text box in your form and want to validate that so you don’t need to use javascript or jquery code. You need to simply use email as input type.

Input Type Color

Input Type Date

Input type Number

Thank you for giving time on Freewebmentor community. Please don’t forget to subscribe our newsletter or join us on Facebook to be the first to learn the next great thing from freewebmentor.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , , ,