1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 </head> 7 <body> 8 <!-- input是单标签 --> 9 <form > 10 <h2>输入框</h2> 11 <input type="text" /> 12 <h2>密码框</h2> 13 <input type="password" /> 14 <h2>复选框</h2> 15 <input type="checkbox" />苹果 16 <input type="checkbox" />苹 17 <input type="checkbox" />果 18 <h2>单选框</h2> 19 <input type="radio" name="a01" />男 20 <input type="radio" name="a01" />女 21 <h2>上传文件</h2> 22 <input type="file" /> 23 <h2>提交按钮重置按钮</h2> 24 <input type="submit" /> 25 <input type="reset" /> 26 <textarea></textarea> 27 <h2>下拉菜单</h2> 28 <select> 29 <option>12</option> 30 <option>10</option> 31 <option>11</option> 32 </select> 33 </form> 34 </body> 35 </html>