by MHLut » Thu Jul 18, 2013 2:08 pm
Bumping this one. (I love HTML5)
There are some hurdles which don't allow HTML inputs to be implemented as-is just yet though:
All browsers have their own way of handling these inputs. You will really want to make an example page with all inputs and open them in as many browsers as possible, you'll see the difference. Here I'm not even counting the matter that older browsers will have no clue what to do with these inputs. However, since older browsers will treat the inputs like text inputs, I don't think a major disaster is at hand there. Mobile browsers however, will benefit greatly from these inputs, since they can adjust their keyboard to the type of input.
An example of my first statement are all date/time related inputs. These are the type of inputs you will really want to use date/timepickers with. Some browsers provide these, some don't. One browser which doesn't provide support (yet) is FireFox and that's quite a popular browser. To make sure these inputs work, for each one you need to provide a polyfill (fallback) JavaScript picker, in case the browser doesn't natively support the input field. Then there's the matter of making sure each browser and JS picker gives you the exact same input, so your back-end can handle this.
The following two pages can give you some more information about HTML5 compatibility: