Sunday, August 17, 2008

How to add search form to blogger

This is the simplest search form code I know and the good thing is it is HTML and you can therefore add it anywhere on your blog.It can also be modified using simple CSS style.

How to add it
Log in to blogger and go to layout and then page elements
Go to add gadget and select HTML/javascript
Next paste the code below

<form id="searchThis" action="/search" style="display:inline;" method="get"><input id="searchBox" name="q" type="text"/> <input id="searchButton" value="Go" type="submit"/></form>


And then save and you are finished and you will now have a beautiful search form like the one I have.The advantage of this search form is that it shows results on your page so if you have ads they increase your page impressions and possibly your clicks.

3 comments:

  1. Thanx dude...since im using the same tempate i needed this badly..!!!!

    man i love to add your blog in my blogroll.....if you want link exchange let me know...

    http://virgintech.blogspot.com

    ReplyDelete
  2. Thanks virgintech,a link exchange would be a great idea
    I will comment on your blog with more details

    ReplyDelete
  3. If you might have avoided attempting to rank your website in the search engines, I am here to inform you that
    when you want your organization to succeed online it is crucial that your
    web site ranks high. You also can link exchange with webmasters
    who've sites on subjects similar for your own. Back inside the days if the internet had been young getting ranked inside the search engines had not been to difficult.

    Also visit my weblog market samurai review

    ReplyDelete

Feel free to leave a comment here