What are the new <input> types for form validation in HTML5?


The new input types for form validation are email, URL, number, tel, and date.

Example:

<input type="email"> 

Leave a Reply

Your email address will not be published. Required fields are marked *