内容 |
今天突然想到,在自己的页面中调用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> <input name=tn type=hidden value=baidu> <a href="http://www.baidu.com/"> <img src="/uploads/202504/02/error3822.html type=text name=word size=30> <input type="submit" value="百度搜索"></div> </form> </div> </body> </html> |