The new input types for form validation are email, URL, number, tel, and date. With the help of the required attribute, it will work. Also if we want specific validation, then we have to add input type "text" or "email" or "tel."

Note: Learn the basic validations with HTML tags and work to crack the HTML Interview Questions.

BY Best Interview Question ON 24 Apr 2019