This form attribute indicates what kind of input control to display such as the popular
<input type="text" /> for handling simple text data.
Some form controls inherit validation systems without having to write any code. For example,
<input type="email" /> validates the field to ensure the entered data is in fact a valid email address. If the field contains an invalid value, the form cannot be submitted for processing until it is corrected.
View all in Resource :- http://www.sitepoint.com/client-side-form-validation-html5/
A jQuery Plugin to make masks on form fields and html elements.
View all in Resource :- http://igorescobar.github.io/jQuery-Mask-Plugin/