parent
e912334fc2
commit
41b1bff28f
@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<style>
|
||||
table{
|
||||
border-collapse: collapse;
|
||||
}
|
||||
td,th{
|
||||
border: 1px solid black;
|
||||
width: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="7" style="border: none;">学生成绩录入系统</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>姓名</th>
|
||||
<th>语文</th>
|
||||
<th>数学</th>
|
||||
<th>英语</th>
|
||||
<th>总分</th>
|
||||
<th>平均分</th>
|
||||
<th>等级</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<script>
|
||||
for (let index = 0; index < 7; index++) {
|
||||
document.write(`<td>${index}</td>`)
|
||||
}
|
||||
</script>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue