代码:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>健身计划</title> </head> <style> table{ background-image:url(../images/8.jpg); background-size:100% auto; background-repeat:no-repeat; } </style> <body> <table border="1" cellpadding="5" width="70%" cellspacing="0" > <caption><h2>训练计划</h2></caption> <thead> <tr> <th>日程</th> <td>周一</td> <td>周二</td> <td>周三</td> <td>周四</td> <td>周五</td> <td>周六</td> <td>周日</td> </tr> </thead> <tbody> <tr> <th>训练部位</th> <td>胸、腹</td> <td>背、腿</td> <td>腰、三头</td> <td>胸、小腿</td> <td>背、大腿</td> <td colspan="2" rowspan="4">有氧运动</td> </tr> <tr> <th rowspan="3">使用动作</th> <td>卧推</td> <td>坐姿下拉</td> <td>俯卧挺身</td> <td>卧推</td> <td>坐姿下拉</td> </tr> <tr> <td>卧姿提臀</td> <td>深蹲</td> <td>下压滑轮</td> <td>卧姿提臀</td> <td>深蹲</td> </tr> <tr> <td colspan="5">腹-肌撕裂者</td> </tr> <tr> <th>动作要领</th> <td colspan="7">短时间低频率的原则,大重量做到力竭,直至完全力竭。</td> </tr> <tr> <th>动作要领</th> <td colspan="7">慢速法力,动作完全到位,肌肉紧绷,慢速复原。</td> </tr> </tbody> </table> </body> </html>
手写代码: