• 企业400电话
  • 微网小程序
  • AI电话机器人
  • 电商代运营
  • 全 部 栏 目

    企业400电话 网络优化推广 AI电话机器人 呼叫中心 网站建设 商标✡知产 微网小程序 电商运营 彩铃•短信 增值拓展业务
    在页面中调用搜索引擎以调用百度为例
    今天突然想到,在自己的页面中调用google、百度这样强大的搜索引擎想必很酷。

    于是上网查了资料,没想到就几行代码的事。

    下面是调用百度的一个代码段:

    复制代码
    代码如下:

    <!--在页面中调用百度引擎-->
    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>调用百度引擎</title>
    </head>
    <body>
    <div id="container">
    <form action="http://www.baidu.com/baidu" target="_blank">
    <div align="center">
    <input name=tn type=hidden value=baidu>
    <a href="http://www.baidu.com/">
    <img src="http://img.baidu.com/search/img/baidulogo_clarity_80_29.gif" alt="Baidu" align="bottom" border="0"></a>
    <input type=text name=word size=30>
    <input type="submit" value="百度搜索"></div>
    </form>
    </div>
    </body>
    </html>

    怎么样?够简单吧,还想着有多难呢。
    上一篇:使用iframe实现提交表单不刷新页面
    下一篇:form的默认提交方式修改方法
  • 相关文章
  • 

    © 2016-2020 巨人网络通讯

    时间:9:00-21:00 (节假日不休)

    地址:江苏信息产业基地11号楼四层

    《增值电信业务经营许可证》 苏B2-20120278

    在页面中调用搜索引擎以调用百度为例 在,页面,中,调用,搜索引擎,