INPUT Search Description:
The search INPUT tag allows you to place a search box in your HTML forms. The search box differs only stylistically with a standard input text box. This means that browsers that support the search field may change the look of the field slightly to be more consistent with search fields on that device or platform.
DTD: HTML5: <!doctype html>
INPUT Search Web Browser Support:
At this time, only Safari 5+ supports the INPUT search type by changing the appearance (see screen shot above). All other browsers display a text box. You can still use this input type to collect search queries.
HTML Versions
INPUT Search Attributes:
Global attributes, event attributes, and the input tag attributes. Plus: </p>
INPUT Search Usage:
Standard search input tag
<form>
<input type="search">
</form>
See an example of a standard search input tag.
INPUT Search Special Notes:
The input range tag is only supported in Safari 5+ if you want the style to change, but you can still use this input type, it will just appear as a standard text box rather than with any special styles. That way, when other browsers do start supporting it, your forms won't have to be modified.
In Safari, when you use the search box, it creates a box with rounded corners and then adds a small “x” to the right side of the box to clear the box. This makes the search box similar to other search boxes in the Safari browser interface.


