title: How can I add a Google search box to my website?
body: <p>I am trying to add a Google search box to my own website. I would like it to search Google itself, not my site. There was some code I had that use to work, but no longer does:</p>
  
  <pre><code>&lt;form method="get" action="https://www.google.com/search"&gt;
  &lt;input type="text" name="g" size="31" value=""&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When I try making a search, it just directs to the Google homepage. Well, actually it directs here: <a href="https://www.google.com/webhp">https://www.google.com/webhp</a></p>
  
  <p>Does anyone have a different solution? What am I doing wrong?</p>