Google, Baidu free search code

Source: Internet
Author: User

Do you want to have a search engine customized by Google for your website? Insert the following code into your webpage:

1.

<! -- Search Google -->
<Center>
<Form method = get action = "http://www.google.com/search">
<Table bgcolor = "# ffffff"> <tr> <TD>
<A href = "http://www.google.com/intl/zh-CN/">
Border = "0" alt = "google" align = "absmiddle"> </a>
<Input type = text name = Q size = 31 maxlength = 255 value = "">
<Input type = hidden name = ie value = gb2312>
<Input type = hidden name = OE value = gb2312>
<Input type = hidden name = HL value = ZH-CN>
<Input type = submit name = btng value = "Google Search">
</TD> </tr> </table>
</Form>
</Center>
<! -- Search Google -->

2.

<! -- Sitesearch Google -->
<Form method = get action = "http://www.google.com/search">
<Table bgcolor = "# ffffff"> <tr> <TD>
<A href = "http://www.google.com/">
Border = "0" alt = "google"> </a>
</TD>
<TD>
<Input type = text name = Q size = 31 maxlength = 255 value = "">
<Input type = hidden name = ie value = gb2312>
<Input type = hidden name = OE value = gb2312>
<Input type = hidden name = HL value = ZH-CN>
<Input type = submit name = btng value = "Google Search">
<Font size =-1>
<Input type = hidden name = domains value = "your domain name"> <br>
<Input type = radio name = sitesearch value = ""> Search for WWW
<Input type = radio name = sitesearch value = "your domain name" Checked> search for your domain name
</Font>
</TD> </tr> </table>
</Form>
<! -- Sitesearch Google -->

3. Baidu

1)

<Table width = 90% border = 0 align = "center" cellpadding = 3 cellspacing = 0>
<Form action = http://www.baidu.com/S> <input type = hidden name = tn value = sitesowang>
<Tr> <TD width = 985> <input type = hidden name = Cl value = 3> <Input
Type = hidden name = rn value = 10> <input type = hidden name = CT value = 0> <Input
Type = hidden name = Lm value = 0> </TD> </tr> <TD Height = "40" bgcolor = "# f0f7ff"> <a href = http://d.baidu.com/index.php? Tn = sitesowang> Src = http://www.hao123.com/logox.gif width = 53 Height = 16 border = 0> </a>
<Input type = text name = word
Size = 19 onmouseover = This. Focus () onfocus = This. Select ()
Onclick = If (this. value = 'Enter the keyword here ') This. value = ''> <input type = submit
Value = Search>
</TD>
</Tr> </form> </table>

2)

<IFRAME id = "baiduframe" border = "0" vspace = "0" hspace = "0" marginwidth = "0" marginheight = "0"
Framespacing = "0" frameborder = "0" scrolling = "no" width = "200" Height = "30"
Src = "http://unstat.baidu.com/bdun.bsc? Tn = sitesowang & CV = 1 & cid = 316 & csid = 102 & rkcs = 5 & bgcr = ffffff & ftcr = 000000 & rk = 0 & BD = 1 & bdas = 0">
</Iframe>

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.