老师帮我看一些这样的代码有没有不规范的吧
来源:3-4 编程练习
weixin_慕粉8004585
2019-11-28 14:47:07
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>网页布局</title> </head> <body> <table width="100%" align="center"> <tr bgcolor="pink" height="80px"><td>页头</td></tr><!--页头--> <tr height="10px"><td></td></tr><!--上空白 --> <tr bgcolor="orange"><td> <table align="center"> <tr> <td width="240px" bgcolor="white">左侧内容</td> <td width="20px" bgcolor="orange"></td> <td width="764px" bgcolor="white" >右侧内容</td> </tr> </table> </td></tr><!--内容 --> <tr height="10px"><td></td></tr><!--下空白 --> <tr bgcolor="black" height="80px"><td></td></tr><!--页尾--> </table> </body> </html>
1回答
好帮手慕夭夭
2019-11-28
同学你好,代码规范,实现的效果也正确。继续加油,祝学习愉快!
相似问题
回答 1
回答 5