1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>表單</title> 5 <meta charset="utf-8"> 6 </head> 7 <body> 8 <form> 9 賬號:<input type="text" name="name"> 10 <br> 11 <br> 12 密碼:<input type="password" name="password"> 13 <br> 14 <br> 15 性別:<input type="radio" name="sex">男<input type="radio" name="sex">女 16 <br> 17 <br> 18 愛好:<input type="checkbox" name="zuqiu">運動 19 <input type="checkbox" name="dongm">動漫 20 <input type="checkbox" name="youxi">游戲 21 <input type="checkbox" name="yuedu">閱讀 22 <br> 23 <br> 24 個人簡介:<br> 25 <textarea cols="35"rows="10"value="ziwojieshao"> 26 27 </textarea> 28 <br> 29 <br> 30 <input type="submit" value="提交"> 31 <input type="reset" value="重置"> 32 <input type="button" value="按鈕"> 33 </form> 34 </body> 35 <html>