老师,检查一下

来源:3-4 编程练习

唔系丶

2020-01-12 10:53:38

<!DOCTYPE html>
<html>
<head>
    <title></title>
 <meta charset="utf-8">
</head>
    <body>
    <table width="100%" align="center">
    <tr bgcolor="pink"> 
    <td height="80px">顶头</td>
    </tr>
     <tr bgcolor="white"> 
    <td height="10px"></td>
    </tr>
    <tr bgcolor="orange" align="center">
    <td>
    <table align="center">
    <td bgcolor="white" width="240px">左侧内容</td>
     <td width="20px"></td>
    <td bgcolor="white" width="764px">右侧内容</td>
      </td>
    </table> 
    </tr>
    <tr bgcolor="black"> 
    <td height="80px"></td>
    </tr> 
    </table>
    </body>
</html>

写回答

1回答

好帮手慕言

2020-01-12

同学你好,测试同学的代码,有以下问题:

1、标签的嵌套有些问题,可以参考下方修改:

http://img.mukewang.com/climg/5e1a909209c259b109770649.jpg

2、要求是5行,同学写的是4行。建议:再添加一行。代码参考:

http://img.mukewang.com/climg/5e1a90e409f83c0b04340209.jpg

如果我的回答帮到了你,欢迎采纳,祝学习愉快~

0

0 学习 · 40143 问题

查看课程