<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>单身男女聊天室</title> </head> <body> <form action="" method="post"> <table border="0" cellspacing="0" cellpadding="10" width="500" bgcolor="pink"> <caption><h2>创建账号 缘分速达</h2></caption> <tr> <td colspan="2"><hr></td> </tr> <tr> <td><label for="email">邮箱:</label></td> <td><input type="text" id="email" name="email" placeholder="请输入您的邮箱" size="30"></td> </tr> <tr> <td><label for="password">密码:</label></td> <td><input type="password" id="password" name="password" placeholder="字母+数字不少于8位" size="30"></td> </tr> <tr> <td><label for="password2">确认密码:</label></td> <td><input type="password" id="password2" name="password" placeholder="请再次输入密码" size="30"></td> </tr> <tr> <td>性别:</td> <td> <input type="radio" name="sex" value="male">男 <input type="radio" name="sex" value="female">女 <input type="radio" name="sex" value="secret" checked>保密 </td> </tr> <tr> <td>爱好:</td> <td> <input type="checkbox" name="hobby[]" value="cook">做饭 <input type="checkbox" name="hobby[]" value="play games">打游戏 <input type="checkbox" name="hobby[]" value="moive">看电影 <input type="checkbox" name="hobby[]" value="sprots" checked>运动 </td> </tr> <tr> <td>收入:</td> <td> <select name="level"> <option value="0" selected>小康</option> <option value="1">高收入</option> <option value="2">土豪</option> <option value="3">神豪</option> </select> </td> </tr> <tr> <td><label for="photo">头像:</label></td> <td> <img src="../images/1.jpg" height="30"> <input type="file" name="photo" id="photo" accept="images/*"> </td> </tr> <tr> <td><label for="comment">爱情宣言:</label></td> <td> <textarea rows="5" cols="40" id="comment" name="comment" placeholder="在对的时间遇到对的人,你会在这里拥有爱情。"></textarea> </td> </tr> <tr> <td colspan="2"><hr> <input type="submit" name="submit" value="提交"> <input type="reset" name="reset" value="重填"> </td> </tr> </table> </form> </body> </html>