HTML5 allows new features for better input control and validation.
It has several new input types for forms.Such as:
Note: Opera has the best support for the new
input types. However, you can already start using them in all major browsers. If
they are not supported, they will behave as regular text fields.
It has several new input types for forms.Such as:
- url
- number
- range
- Date pickers (date, month, week, time, datetime, datetime-local)
- search
- color
Browser Support
Input type | IE | Firefox | Opera | Chrome | Safari |
---|---|---|---|---|---|
No | 4.0 | 9.0 | 10.0 | No | |
url | No | 4.0 | 9.0 | 10.0 | No |
number | No | No | 9.0 | 7.0 | 5.1 |
range | No | No | 9.0 | 4.0 | 4.0 |
Date pickers | No | No | 9.0 | 10.0 | 5.1 |
search | No | 4.0 | 11.0 | 10.0 | No |
color | No | No | 11.0 | 12 | No |
No comments:
Post a Comment