What are the different new form element types in HTML 5?

hambi
hambi
Member
56 Points
2 Posts

Hi,

What are the different new form element types in HTML 5?

Views: 8511
Total Answered: 2
Total Marked As Answer: 1
Posted On: 05-Apr-2015 09:17

Share:   fb twitter linkedin
Answers
Rahul Maurya
Rahul M...
Teacher
4822 Points
23 Posts
         

Hi hambi,

There are 10 important new form elements introduced in HTML 5:-

  1. Color.
  2. Date
  3. Datetime-local
  4. Email
  5. Time
  6. Url
  7. Range
  8. Telephone
  9. Number
  10. Search
Posted On: 04-Apr-2015 20:51
Rahul Maurya
Rahul M...
Teacher
4822 Points
23 Posts
         

For examples: 

  • Color
<input type="color" />
  • Date
 <input type="date" />
  • Datetime-local
 <input type="datetime-local" />
  • Email
 <input type="email" />
  • Time
 <input type="time" />
  • Url
 <input type="url" />
  • Range
 <input type="range" />
  • Telephone
 <input type="telephone" />
  • Number
 <input type="number" />
  • Search
 <input type="search" />
Posted On: 10-Apr-2015 19:51
 Log In to Chat