form表单元素类型

 1 <form>
 2 <input type="text">
 3 <input type="password">
 4 <input type="hidden">
 5 <input type="radio" name="sex" value="男"> 6 <input type="radio" name="sex" value="女"> 7 <input type="checkbox" name="country" value="中国">中国
 8 <input type="checkbox" name="country" value="美国">美国
 9 <select>
10 <option value="1" selected>1</option>
11 <option value="2">2</option>
12 </select>
13 <textarea rows="8" cols="40"></textarea>
14 <input type="submit">
15 </form>

 

posted on 2016-01-18 01:08  cag2050  阅读(587)  评论(0编辑  收藏  举报

导航