博客列表 >表格元素 表格作业

表格元素 表格作业

叶志鹏
叶志鹏原创
2022年09月16日 18:02:07460浏览

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<table border="1" width="500">
<caption>ZH的生活日常表</caption>
<thead>
<tr bgcolor="lightyellow">
<th>日期</th>
<th>周一</th>
<th>周二</th>
<th>周三</th>
<th>周四</th>
<th>周五</th>
</tr>
</thead>
<tbody>
<tr>
<th rowspan="7" bgcolor="lightpink" textalign="center" width="40">事务内容</th>
<th>遛狗</th>
<th>遛狗</th>
<th>遛狗</th>
<th>遛狗</th>
<th>遛狗</th>
</tr>
<tr>
<th>吃早餐</th>
<th>吃早餐</th>
<th>吃早餐</th>
<th>吃早餐</th>
<th>吃早餐</th>
</tr>
<tr>
<th>上班</th>
<th>上班</th>
<th>上班</th>
<th>上班</th>
<th>上班</th>
</tr>
<tr>
<th>中饭</th>
<th>中饭</th>
<th>中饭</th>
<th>中饭</th>
<th>中饭</th>
</tr>

<tr>
<th>休息</th>
<th>休息</th>
<th>休息</th>
<th>休息</th>
<th>休息</th>
</tr>
<tr>
<th>上班</th>
<th>上班</th>
<th>上班</th>
<th>上班</th>
<th>上班</th>
</tr>
<tr>
<th>核酸后下班</th>
<th>核酸后下班</th>
<th>核酸后下班</th>
<th>核酸后下班</th>
<th>核酸后下班</th>
</tr>
<tr>
<th colspan="6" bgcolor="crimson">周末爬山</th>
<!-- <th>周末爬山</th> <th>周末爬山</th> <th>周末爬山</th> <th>周末爬山</th> -->
</tr>
</tbody>
</table>
</body>
</html>

声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议