A search box, search field or search bar is a used in computer programs, such as or , and on . A search box is usually a single-line text box or search icon ( which will transform into a search box on click activity) with the dedicated function of accepting user input to be searched for in a database. Search boxes on web pages are usually used to allow users to enter a query to be submitted to a Web search engine server-side script, where an index database is queried for entries that contain one or more of the user's keyword research.
Search boxes are commonly accompanied by a search button (sometime indicated only by a magnifying glass symbol) to submit the search. However, the search button may be omitted as the user may press the enter key to submit the search, or the search may be sent automatically to present the user with real-time results.
Search box Wikipedia
Depending on the particular implementation, a search box may be accompanied by a to present the users with past searches or search suggestions. Search boxes may have other features to help the user, such as , search suggestions, a ,spelling checker etc. Search boxes are often also accompanied by drop-down menus or other input controls to allow the user to restrict the search or choose what type of content to search for.
In some cases, while users input search strings, the results of that string would also present on the content area too. However, if the page choose this way to show results to users, the loading time is pretty slow and sometimes it may cause freezing state or browser crash. Hence, it is not recommend for small and medium size webpage.