✏️ Explanatory Question

Explain five new input types provided by HTML5 for forms?

👁 951 Views
📘 Detailed Answer
No previous question
No next question
💡

Answer with Explanation

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 enables the user to select a month and year
  5. email: These input fields used to contain an e-mail address.
No previous question
No next question