Google search form with additional keywords

/ Published in: HTML
Save to your folder(s)

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.

Copy this code and paste it in your HTML
  1. <form action="">
  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=" special.offer">
  5. <input type="submit" value="Search">
  6. </form>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.