HTML tag is used to provide a single line text input in a page to query a document. If user sent input to the server then server returns the list of page matching with the query.
The tag can be used anywhere in the document, but it would be preferable to use it within
tag.
Note: Do not use tag as it is not supported by HTML5, instead of it you can use form which will do the same work.
Syntax
Following are some specifications about the HTML tag