css
<style>
table{
text-align: center;
}
input{
width: 300px;
}
a{
font-size: 12px;
}
a:hover{
color: red;
}
b{
font-size: 12px;
}
.xian{
text-decoration: line-through;
color: red;
}
</style>
html
<body>
<h5>任务记录</h5>
<input type="txt">
<!-- <button>添加</button> -->
<table width="370px">
<thead>
<th>需要完成的任务</th>
<th>时间</th>
<th>操作</th>
</thead>
<tbody>
</tbody>
</table>
</body>
js代码
<script>
// 获取元素