Posted By

deepsoul on 12/27/09


Tagged

search google keywords


Versions (?)

Google search form with additional keywords


 / Published in: HTML
 

URL: http://searchlores.org/termisearch.htm

The Google search URL accepts two fields, as_oq and as_eq, which give additional required or forbidden keywords for the search. This allows to create search forms which add preset keywords. In the search form below, one of the keywords test, review or evalutation is required, and none of "buy now", "special offer" and "free download" may be present.

  1. <form action="http://www.google.com/search">
  2. <input name="q" size="70">
  3. <input type="hidden" name="as_oq" value="test review evaluation">
  4. <input type="hidden" name="as_eq" value="buy.now special.offer free.download">
  5. <input type="submit" value="Search">
  6. </form>

Report this snippet  

You need to login to post a comment.