Search engine code for your website content

Source: Internet
Author: User

From: http://www.ziyexing.com/files-6/wyjl/wyjl_inf_16.htm

The following is a search engine recommended by netizens for their own website content.Code. The Code borrowed from several large search websites can be embedded in their homepages, And the content on their websites can be easily searched, which is efficient and does not occupy the resources of website servers. During use, replace "www.ziyexing.com" in the Code with your website address.
The code can be stored on the home page at any location.

<! -- Start searching on the Google site -->
<Form method = get action = "http://www.google.com/search">
<Input type = text name = q>
<Input type = submit name = btng value = "Google Search">
<Input type = hidden name = ie value = gb2312>
<Input type = hidden name = OE value = gb2312>
<Input type = hidden name = HL value = ZH-CN>
<Input type = hidden name = domains value = "/www.ziyexing.com">
<Input type = hidden name = sitesearch value = "/www.ziyexing.com">
</Form>
<! -- Google site search ends -->
○ Search engine code provided by Baidu
<! -- Baidu Site Search Start -->
<Form action = "http://www.baidu.com/baidu">
<Input type = text name = word>
<Input type = "Submit" value = "Baidu search">
<Input name = SI type = hidden value = "/www.ziyexing.com">
</Form>
<! -- Baidu intra-site search ends -->
○ Search engine code provided by Yahoo
<! -- Start searching on the Yahoo site -->
<Form action = "http://www.yahoo.com.cn/search">
<Input type = text name = "p">
<Input type = "Submit" value = "Yahoo Search">
<Input type = hidden name = vs value = "/www.ziyexing.com">
</Form>
<! -- Yahoo website search ended -->

Google and Baidu's JavaScript search code:

○ JavaScript code 1




○ JavaScript code 2






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.