Friday, March 30, 2012

TIP ADD SEARCH BOX TO MY BLOG

Search box is very necessary for your blog in case when your blog is related to topics like software download or your blog contains so much topics. A search box allow your blog visitors to search for different topics in your blog. Now I am telling you a tip to add another search box to your blog which is more effective than previous one. Here are the instructions check it out.

1. Copy and paste the HTML code given below in your blog.

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

2. Remember to change YOUR BLOG URL to the url of your blog and NAME OF YOUR BLOG to that which you want to call your search box. For example you can replace it by "Search On This Blog" or any other that you want.

3. You can also change the "Search" button to say, "Hit" or "Go", by changing the Value.

4. Save the code and refresh your page. If you want a longer or shorter search box, you can also change the size. The above example of a width size="20" and value="Hit" will give you this type of search box.


No comments:

Post a Comment