How to give parameters in the url?

The question raised from the question here. In order to have search engines in Browser, I need to find a way to get the parameters to url.

Suppose you have Google Sites where you have Google Gadget. The gadget has a search box.

How can you give the search parameters to the search box?

Upvotes: 1

Views: 845

Answers (1)

Quentin
Quentin

Reputation: 943569

This is described in the HTML 4.01 specification: http://www.w3.org/TR/html4/interact/forms.html#h-17.13.3

Essentially you append a "?" to the URI, then create sets of key=value pairs which have special characters represented by escape sequences. Then append the pairs to the URL, separating each pair with an ampersand or semi-colon.

Upvotes: 2

Related Questions