The first new HTML5 form ability we want to check out is the native ability to display placeholder text.
We have all used — and even created — form placeholder text before. But now with HTML5 we're going to do it a bit differently and more efficiently. The Packt Publishing website features the ability to search the entire site or search only book/eBooks.
Once the user clicks on one of those two form fields, the placeholder text disappears.
This is accomplished via a traditional method of using the value attribute ...