title: how to get in url with value.html
body: <p>This form submits url like that</p>
  
  <p><a href="http://www.website.com/page/search.php?search=demo&amp;submit=Search" rel="nofollow">http://www.website.com/page/search.php?search=demo&amp;submit=Search</a></p>
  
  <pre><code> &lt;form action="search.php?search=" method="GET" id="search-form"&gt;
        &lt;input id="search-text" name="search" type="text" maxlength="30" placeholder="type keyword"/&gt;
        &lt;button type="submit" name="submit" value="Search" id="search-button"&gt;Search&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Where I want to post the form like that:</p>
  
  <p><a href="http://www.website.com/page/search/demo.html" rel="nofollow">http://www.website.com/page/search/demo.html</a></p>
  
  <p>How can I do this?
  I know it is a small thing but help me..</p>
  
  <p>Thanks</p>