用HTML中的表格属性实现百度首页

这里写图片描述

<html>

    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <title></title>
        <script type="text/javascript">
            document.addEventListener('plusready', function() {
                //console.log("所有plus api都应该在此事件发生后调用,否则会出现plus is undefined。"

            });
        </script>
    </head>

    <body>
        <table border="0px" width="100%" height="900px">
            <tr height="10%">
                <td align="right">
                    <a href="https://www.xinwen.com/s">新闻</a>
                    <a href="https://www.hao123.com/s">hao123</a>
                    <a href="https://www.ditu.com/s">地图</a>
                    <a href="https://www.shiping.com/s">视屏</a>
                    <a href="https://www.tieba.com/s">贴吧</a>
                    <a href="https://www.xueshu.com/s">学术</a>
                    <a href="https://www.denglu.com/s">登录</a>
                    <a href="https://www.shezhi.com/s">设置</a>
                    <a href="">更多产品</a>&nbsp;&nbsp;
                </td>
            </tr>
            <tr height="50%">
                <td align="center">
                    <P>
                        <img src="img/百度图片.png" width="270" height="129" />
                    </P>
                    <p>
                        <form action="https://www.baidu.com/s">
                            <input type="hidden" name="ie" value="gbk" />
                            <input type="text" name="wd" style="width: 540px;height: 36px;font-size: 20px;" />
                            <button type="submit" style="border: 0;width: 100px;height: 36px;background: #3385FF;">百度一下</button>
                        </form>
                    </p>
                </td>
            </tr>
            <tr height="25%">
                <td align="center">
                    <p>
                        <img src="img/手机百度.png" width="60px" height="60px" />
                    </p>
                    <p align="center">
                        <b>手机百度</b>
                    </p>
                    <p>
                        <a href="">把百度设为主页</a>&nbsp;&nbsp;
                        <a href="">关于百度</a>&nbsp;&nbsp;
                        <a href="">About Baidu</a>&nbsp;&nbsp;
                        <a href="">百度推广</a>&nbsp;&nbsp;
                    </p>
                    <p>
                        ©2017 Baidu
                        <a href="">使用百度前必读,意见反馈</a>京ICP证030173号<img src="img/copy_rignt_24.png" />&nbsp;&nbsp;
                        <a href="">京公网安备11000002000001号</a><img src="img/SXP(C3)C@)7H3VP8CE$(MJJ.png" />&nbsp;&nbsp;
                    </p>
                </td>
            </tr>
    </body>

</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值