3.16作业
代码:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>3月份员工工资表</title> </head> <body> <table border="1" cellspacing="0" cellpadding="6" align="center" width="80%"> <caption> <h2>员工工资表</h2> <p align="right"><a href="">添加</a></p> </caption> <colgroup> <col bgcolor="FFE899"> <col bgcolor="E2F694"> <col bgcolor="FFE899"> <col bgcolor="E2F694"> <col bgcolor="FFE899"> <col bgcolor="8DE6EA"> </colgroup> <tr align="center" bgcolor="FA979C"> <th rowspan="2">序号</th> <th rowspan="2">姓名</th> <th colspan="3">工资明细</th> <th rowspan="2">合计</th> <th colspan="2" rowspan="2">编辑</th></tr> <tr align="center" bgcolor="FA979C"> <th>基本工资</th> <th>福利补贴</th> <th>绩效工资</th> </tr> <tr align="center"> <td>1</td> <td><img src="../image/2.jpg" align="left" width="25" alt="">李小伟</td> <td>2800</td> <td>400</td> <td>800</td> <td>4000</td> <td><a href="">修改</a></td> <td><a href="">删除</a></td> </tr> <tr align="center"> <td>2</td> <td><img src="../image/3.jpg" align="left" width="25" alt="">陈小清</td> <td>3200</td> <td>400</td> <td>1200</td> <td>4800</td> <td><a href="">修改</a></td> <td><a href="">删除</a></td> </tr> <tr align="center"> <td>3</td> <td><img src="../image/4.jpg" align="left" width="25" alt="">谭小华</td> <td>3200</td> <td>400</td> <td>600</td> <td>4200</td> <td><a href="">修改</a></td> <td><a href="">删除</a></td> </tr> <tr align="center"> <td>4</td> <td><img src="../image/5.jpg" align="left" width="25" alt="">钟小霜</td> <td>3200</td> <td>400</td> <td>800</td> <td>4400</td> <td><a href="">修改</a></td> <td><a href="">删除</a></td> </tr> <tr align="center"> <td>5</td> <td><img src="../image/6.jpg" align="left" width="25" alt="">苏小锋</td> <td>3000</td> <td>400</td> <td>800</td> <td>4200</td> <td><a href="">修改</a></td> <td><a href="">删除</a></td> </tr> </table> <p align="center"> <a href="">首页</a> <a href="">上页</a> <a href="">1</a> <a href="">2</a> <a href="">...</a> <a href="">下页</a> <a href="">尾页</a> </p> </body> </html>
手抄代码: