1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>登录表单</title> 6 </head> 7 <body> 8 <!-- get post 区别 --> 9 <form method="post" action="地址"> 10 <table border="1px" cellspacing="0" width="600px"> 11 <tbody> 12 <tr height="40px"> 13 <td rowspan="4" align="center">总体信息</td> 14 <td colspan="2"></td> 15 16 </tr> 17 <tr height="40px"> 18 19 <td align="right">用户名:</td> 20 <td> 21 <input type="text" name="username" /> 22 </td> 23 </tr> 24 <tr height="40px"> 25 26 <td align="right">密码:</td> 27 <td> 28 <input type="password" name="userpasswd" > 29 </td> 30 </tr> 31 <tr height="40px"> 32 33 <td colspan="2" align="center"> 34 <input type="submit" value="提交" /> 35 <input type="reset" value="重置"/> 36 </td> 37 38 </tr> 39 40 </tbody> 41 </table> 42 </form> 43 </body> 44 </html>