Well I couldn't get these to work...
But I found some nifty resources. For example!
The input element will have a bunch of new types.
- tel
- search
- url
- datetime
- date
- month
- week
- time
- datetime-local
- number
- range
- color
An excellent example of some of these (using Dean Edwards HTML5 Now) HTML5 Now Input.
Forms will now be able to be validated without javascript (you can create custom validation with the JS API).
requiredattributepatternattribute, such as an email or url formatmaxlengthcontrolling how long the string value can beminandmaxvalues to check numbers againststepwhich controls the granularity of the value (spec)