HTML5 forms input types
HTML5 introduces a dozen (yes, that’s 13!) new input types for forms. Here in this post, we’re going to take a brief look at each of them and explain why we should be using them right now. These new input types have dual benefits: using them means less development time and an improved user experience. The new input types we’ll be looking at are: search email url tel number range date month week time datetime datetime - local color search Search seems like an appropriate place to start our foray into HTML5 input types. When we talk about search, we’re not just talking about Google, Bing, or Yahoo. We’re talking about the search field on that e-commerce site you just made a purchase from, on Wikipedia, and even on your personal blog. It’s probably the most common action performed on the Web every day, yet it’s not marked up very semantically, is it? We all tend to write something like this: <input type = "text" name = "search" > Well, ...