1 2 3 4 5 Title 6 7 8 9 10 用戶名: 11 13 14 密 碼: 15 17 18 性 別: 19 ... ...
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 </head> 7 <body> 8 <form acion="" method=""> 9 10 用戶名: 11 <input id="tar"type="text" name="usr" 12 placeholder="請輸入賬號"><br> 13 <br> 14 密 碼: 15 <input type="password" name="psw" 16 placeholder="請輸入密碼"><br> 17 <br> 18 性 別: 19 <input type="radio" name="gender" value="1">女 20 <input type="radio" name="gender" value="2">男 21 <input type="radio" name="gender" value="3">保密<br> 22 <br> 23 愛 好: 24 <input type="checkbox" name="hobby" value="yinyue">音樂 25 <input type="checkbox" name="hobby" value="biancheng">編程 26 <input type="checkbox" name="hobby" value="youxi">游戲<br> 27 <br> 28 上傳頭像:<input type="file" value="上傳"><br> 29 <br> 30 地 址: 31 <select> 32 <optgroup label="市"> 33 <option>桂林</option> 34 <option>廣州</option> 35 <option>長沙</option> 36 <option>武漢</option> 37 </optgroup> 38 </select><br> 39 <br> 40 41 個人簡介:<textarea style="height: 160px;width: 140px;"> 42 </textarea><br> 43 <br> 44 45 <input type="submit" value="提交"> 46 <input type="reset" value="重置"><br> 47 48 </body> 49 </html>