Another new element in HTML5 is the Search Box Element (type="search"
).
As with the other recent HTML5 elements we have just looked at, some will work in some browsers, and not others.
<form action="http://www.example.org/search.php">
<label>
Search:
<input type="search" name="search" />
<input type="submit" value="Search" />
</label>
</form>