title: Why put search input inside a form tag?
body: <p>I found that SO put the search input inside a form tag, and i found some other websites do the same, such as google, they put the search input and search button inside this:</p>
  
  <pre><code>&lt;form action="/search" method="get" name="gs" id="tsf"&gt;
  </code></pre>
  
  <p>I want to just know the benefits of doing so, because it seems common and I miss it.</p>