1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

HTML How to create search form box in website ?

Discussion in 'Web Development' started by Sweet Heart, Feb 28, 2012.

  1. Sweet Heart

    Sweet Heart New Member

    Hello, I want help for ..
    How to create search form box in website ? any one can help me by the step

    wishes
     
  2. Geoff Tyrer

    Geoff Tyrer Member

    If you sign up for Google AdSense (to display their ads on your pages) they give you the means to do this. You can provide a full Internet search, just your site, or a selection of sites... The results page can feature your logo and you get paid for any clicks.

    If you need to know more about it just ask or take a look at AdSense.
     
  3. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    you might want to also look into elasticsearch which is Open Source
    easy setup and a has a search schema to get you started.
     
  4. Sweet Heart

    Sweet Heart New Member

    i'm planning to do a search issue i in the website and to search only from the same website,,
    wgat i'm looking for ,, is the codes responsible for this action in html, css

    thanks a lot,, for your kind responds
     
  5. Michaelpina

    Michaelpina New Member

    To add the Google search box on your website you can use this code on your website. With this code you can set the search form to search from the web or only from your website.

    <div style="border: 1px solid black; padding: 4px; width: 20em; text-align: center; margin: 0px auto 0px auto">
    <table border="0" cellpadding="0">
    <tr>
    <td>
    <input maxlength="250" name="q" size="20" type="text" value="" />
    <input type="submit" value="Google Search" /></td>
    </tr>
    <tr>
    <td align="center" style="font-size: 70%">
    <input checked="checked" name="searchsite" type="checkbox" value=" " />
    Only search from this website<br /></td>
    </tr>
    </table>
    </div>