1.现在用表格做页面布局是否合适,为什么?
表格在之前做页面,但因为代码后期不好维护;
现在div+css布局就代替表格!
2.表格中的tr th td 分别代表什么意思,是否还有其他标签可以放在table标签里面?
tr——>行
th——>标题
td——>内容
3.创建一个简单的表
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>表格</title>
</head>
<body>
<table border="2">
<tr>
<th>部门</th>
<th>姓名</th>
<th>忘打卡时间</th>
<th>忘打卡次数</th>
<th>是否交款</th>
<th>忘记打卡日期</th&g