<form action=""> 文本类:<input type="text" name="name"> <br> 密码类:<input type="password" name="password"> <br> 单选类(预选): <input type="radio" name="sex" value="男" checked>男 <input type="radio" name="sex" value="女">女 <br> 多选类: <input type="checkbox" name="chongwu" value="猫">猫 <input type="checkbox" name="chongwu" value="狗">狗 <input type="checkbox" name="chongwu" value="蟑螂">蟑螂 <br> 预选下拉列表: <select name="teacher"> <option value="A老师">A老师</option> <option value="B老师">B老师</option> <option value="苍老师" selected>苍老师</option> </select> <br> <textarea rows="10" cols="30" name="wenben">这是一个文本输入框</textarea> <br> <label for="male">label:绑定标签,等同选择</label> <input type="checkbox" id="male">选择 <br> <input type="submit" value="提交"> </form>