0
点赞
收藏
分享

微信扫一扫

HTML table

Ichjns 2022-03-22 阅读 75
xhtml
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>菜鸟教程(runoob.com)</title>
</head>
<body>
    <table width="500" border="0">
        <tr>
            <td colspan="2" style="background-color: #fde979;">
                <h1>主要的网页标题</h1>
            </td>
        </tr>

        <tr>
            <td style="background-color: #f7ff98; width: 100px; vertical-align: top;">
                <b>菜单</b><br>
                HTML<br>
                CSS<br>
                JavaScript
            </td>
            <td style="background-color: #f5f9d4; height: 200px; width: 400px; vertical-align: top;">
                内容在这里
            </td>
        </tr>

        <tr>
            <td colspan="2" style="background-color: #fde979; text-align: center;">
                版权 © runoob.com
            </td>
        </tr>
    </table>
</body>
</html>
举报

相关推荐

0 条评论