You have to paste the code in the html template of your website in appropriate place. If your website is designed by professional programmers, then give the code to them and explain what to do. It is recommended that you put the code as a <div> element in the <body> section in a static page of your website.
For the most cross-browser compatibility, it is recommended that your HTML pages use a supported doctype such as <!DOCTYPE html>
Example
<html>
<head>
<title>my site</title>
...
<head>
<title>my site</title>
...
<head>
<body>
<div1>...</div1>
<div1>...</div1>
PASTE THE CODE HERE
<div2>...</div2>
</body>
</body>
</html>
If you have a blog and don’t have any knowledge of HTML
Suppose you want to use this code for your blog. You don’t need any html/coding knowledge to do it. Simply follow the steps below.
Basically there are 2 ways by which you can do it.
1) by using html/javascript gadget
- go to the blogger dashboard of your blog. Choose the “layout” option from the options in the right side. Open the layout.
- In the layout , you will see the option of “add a gadget” in different places. Choose the place you want to insert this search engine and click on “add a gadget” option.
- A gadget list will be opened in a separate window . scroll down until you find the “html/javascript” gadget. Click on it .
- Leave the title bar empty. Paste the code in the “content” part. Save it.
- View your blog to see the change.
2) if you want to make a separate page for the search engine
- go to the blogger dashboard of your blog. Choose the “pages” option from the menu bar in the right side. Open it. Choose the option of adding a new page as blank page. Now while composing , switch to the Html option. You will see some thing like this ( already written)
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
paste the code between <br/> and </div>
Now it should be like this : <div dir="ltr" style="text-align: left;" trbidi="on">
<br />paste the code</div>
Save the changes and view your page. Don’t forget to display the page link from your home page.