HTML5 Forms, Part 2 part 1

Creating a Search Box



The new search input type can be used to create a search box:
<input id="mysearch" name="searchitem" type="search" />Try It Yourself

Result:
You must remember to set a name for your input; otherwise, nothing will be submitted.

Comments

Popular posts from this blog

Drag&Drop API