The first thing to do is to create a page containing a form in which the user can enter their search word or phrase. You can of course have a combined search form page and search results page, but I prefer to keep them separate. An example search form is shown below. This code should be saved as SearchForm.asp:
As you can see from this HTML, it is a simple form that will post a single text field called query
to the page called SearchResults.asp.