首页 > Web开发 > 详细

一小段html代码将就能将百度搜索栏包含到你的页面里

时间:2016-01-03 14:29:09      阅读:214      评论:0      收藏:0      [点我收藏+]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>包含百度页面</title>
</head>
<body>
<form id="bdfm" target="_blank" name="bdfm" method="get" action="http://www.baidu.com/s">
    <table>
       <tr>
            <td>
                 <a href="http://www.baidu.com">
                 <img src="img/baidu.jpg"/>
                 </a>
            </td>
            <td><br/><input type="text" id="search1" name="word"/></td>
            <td><br/><input type="submit" value="搜索" /></td>
         </tr>
    </table>
</form>

效果如图所示:

技术分享

一小段html代码将就能将百度搜索栏包含到你的页面里

原文:http://www.jb51.net/web/77219.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!