title: Creating a Google search box using HTML form
body: <p>So I am trying to insert a search form on my website that will redirect the user with their query to Google Search.</p>
  
  <p>I used to be able to do this using:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;form role="search" method="get" id="searchform" class="searchform" action="http://www.google.co.uk/search?hl=en-GB&amp;source=hp&amp;q="&gt;
    &lt;div id="gform"&gt;
      &lt;label class="screen-reader-text" for="s"&gt;&lt;/label&gt;
      &lt;input type="text" value="" name="s" id="s"&gt;
      &lt;input type="submit" class="btn fa-input" value="&amp;#xf002;" style="font-family: FontAwesome;"&gt;
    &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>However, this no longer works. I'm guessing this is because Google have changed the search URL, but I am unable to replicate this effect by using Google's current URL. </p>
  
  <p>Any idea how to fix this?</p>