HTML输入框标签

1.<input type="reset">                      <!--重置-->                        

2.<input type="submit">                  <!--提交-->                           

3.<input type="text">                         <!--文本-->

4.<input type="checkbox">                 <!--多选框-->                 

5.<input type="radio">                        <!--单选框-->                

6.<input type="email">                         <!--邮箱-->

7.<input type="password">                  <!--密码-->                       

8.<input type="color">                         <!--颜色选择-->                

9.<select>  <option >北京</option>                <!--拉抻选择-->                
                <option >上海</option>
                </select>

10.<input type="date">                           <!--日期-年月日-->          

11. <input type="datetime-local">           <!--日期-年月日时间-->          

12.<input type="month">                        <!--日期-年月-->         

13.<input type="file">                  <!--放入文件-->          ​​​​​​​

14.<input type="hidden">             <!--隐藏的-->                  

15.<input type="image">              <!--提交图片-->                 

16.<input type="number">             <!--上下选择输入数字-->    

17.<input type="range">                  <!--滑动条-->           

18.<input type="search">                <!--一键清除搜索框-->         

19.<input type="tel">                          <!--输入电话-->      

20.<button>点击换一张</button></a>  <!--自定义按钮-->  

猜你喜欢

转载自blog.csdn.net/Java_Mr_Jin/article/details/121221312
今日推荐