вторник, 13 април 2010 г.

html5 input type values

Among other things, html5 provides many more values for the type attribute of the input type. While we're still using JavaScript to provide datepickers or to validate url or for some similar purpose, in the future we'll be able to just declare the type of the form control and the browser will handle the user experience.
Some of the possible values are email, url, date, time, search, etc.
See some example of how the new html5 input fields look like under browsers that supports them on Roger Johansson's article HTML5 input types.

Няма коментари:

Публикуване на коментар