Using the input Element to Obtain Search Terms
Description
The search type of input element presents the user with a single-line text box for entering search terms.
Example
<!DOCTYPE HTML>
<html>
<body>
<form method="post" action="http://example.com/form">
<p>
<label for="search"> Search: <input type="search" id="search"
name="search" />
</label>
</p><!-- www. ja v a 2s. c o m-->
<input type="submit" value="Submit Vote" />
</form>
</body>
</html>