The search begins on a web page that includes a form field to accept search terms and HTML codes to execute a CGI script. The browser might pass the data to the web server in a query string. The query stringcontains the name of the CGI script in a directory called cgi-bin. This directory is followed by search parameters that include the search terms, separated by ampersands (the character "&"). A question mark is used to separate the name of the script or document from the arguments that are to be passed to it. Certain characters must be encoded when passed in a URL. Spaces, for example, are replaced by plus signs "+". So the HTML code for a search might look like this: