Friday, April 5, 2013

How to Create a Search Box on Your Website



Add a Bing Box

1. Access the “Bing Box” page, and click the “Get started” button under the “Advanced Search Box” section.

2. Type your site's name in the “Display name” text field, and enter your URL address in the “Site” field. Click the “Next” button to continue.

3. Enter a value to specify the width of your search box, and click the radio buttons next to the dimensions and theme that you prefer. Click the “Next” button when done.

4. Copy the provided code, and launch an HTML text editor to open the Web pages that you want to add the search box to. Paste the code in the desired area, and save your files when finished.

Add Google Search

5. Access the Google Adsense page, and log in to your account to create the search box.

6. Submit your preferences for the box by following the prompts, and click the “Continue” button at the bottom of the page.

7. Click the buttons next to your choices in the “Look and Feel” category, and type in a value in the “Text Box Length” field to set the width. Click the “Continue” button when done.

8. Format your search box using the provided menus, and select an option to determine where the search results appear. Click the “Continue” button when finished.

9. Enter a name for your search box in the text field, and click the check box to acknowledge that you agree to the terms of service. Click the “Submit and Get Code” button, copy the resulting syntax and paste it on your Web pages where you want the search box to display.

Add Yahoo! Search

10. Access the Yahoo! Search page.

11. Copy the code displayed under “Style 1,” “Style 2,” “Style 3” or “Style 4,” which displays various dimensions and the ability to search Yahoo! or search Yahoo! and your own site.

12. Paste the code on the Web pages where you want your search box to show up.

No comments:

Post a Comment