Tuesday, 10 May 2011

How to insert Search box in blogger

By this useful article you will teach that how to insert Search box in blogger blog.  By the way if visitors and readers want to search any article of your free blog blogger and also want to go another website or blog in this regard search blog is very important. The Navigation bar of Google at the top of your free blog blogger has an surrounded search box. Though, you may want to comprise box in the main body of your blogger blog.  Other than the convenience for users, the additional advantage is that unlike Google search box, the search results of this Blogger.com search box come into view in the main body of your free Blog. You can read more about search box like: google search box,search box css,search box html,search box html code,google quick search box,jquery search box,search box design.

First go to www.blogger.com and then Dashboard >Page Elements tab, click and now Add a Page Element at the place where you want your search box to appear and finally choose “HTML/JavaScript”.

There are a number of HTML codes posted on the net. I tried a few, and found the one that works as follows:


<p align="left">
<form id="searchthis" action="YOUR BLOG URL/search" style="display:inline;" method="get">
<strong>NAME OF YOUR BLOG<br/></strong>
<input id="b-query" maxlength="255" name="q" size="25" type="text"/>
<input id="b-searchbtn" value="Search" type="submit"/>
</form></p>


Now see the above code you should be modify YOUR BLOG URL with URL of your blogger blog  and after that  change the NAME OF YOUR BLOG to that which you want to call your site. For example, if your Blog Name is long, you may want to write great like “Search Here” or “Search this site”. You can also modify the “Search” key to say, “Hit” or “Go”, by changing the Value. Save the code and refresh your page. If you want a longer or shorter search box, you can occupy yourself around with the size. The above example of a width size="25" and value="Hit" will give you this.

I hope this useful article will be very important  for you to add search box in your free blog blogger if you like it leave comments.

0 Comments:

Post a Comment