Newest dating site in the world
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: With HTML5 we can. Desktop browsers will render this in a similar way to a standard text field—until you start typing, that is.
, notice the keyboard, specifically the action button on the keyboard (bottom right).
Did you spot that it says “Search” rather than the regular “Go”?
It’s a subtle difference that most users won’t even notice, but those who do will afford themselves a wry smile.
In the first article in this series we looked at the history of HTML5 forms and many of the new attributes available to us.
In this second and final part of the series, we’ll look at the new input types available in HTML5. This is article is an excerpt from Chapter 6 of Beginning HTML5 and CSS3: The Web Evolved by Christopher Murphy, Oli Studholme, Richard Clark and Divya Manian, published by Apress.