Google News
logo
HTML5 - Interview Questions
Explain five new input types provided by HTML5 for forms ?

Following are the important, new data types offered by HTML5 :

  1. date : It allows the user to select a date.
  2. datetime-local : This input type allows the user to select a date and time without time zone.
  3. datetime : This input type allows the user to select a date and time with time zone.
  4. month : It allows the user to select a month and year
  5. email : These input fields used to contain an e-mail address.
Advertisement