首页 > 其他 > 详细

input表单type属性值

时间:2019-01-29 17:27:16      阅读:207      评论:0      收藏:0      [点我收藏+]
<!-- input表单type属性值: -->
<!-- type = "email" 限制用户输入必须为Email类型 -->
email<input type="email">
<!-- type="url" 限制用户输入必须为URL类型 -->
url<input type="url">
<!-- type="date" 限制用户输入必须为日期类型 -->
date<input type="date">
<!-- type="datetime" 显示完整日期 含时区 -->
datetime<input type="datetime">
<!-- type="datetime-local" 显示完整日期 不含时区 -->
datetime-local<input type="datetime-local">
<!-- type="time" 限制用户输入必须为时间类型 -->
time<input type="time">
<!-- type="month" 限制用户输入必须为月类型 -->
month<input type="month">
<!-- type="week" 限制用户输入必须为周类型 -->
week<input type="week">
<!-- type="number" 限制用户输入必须为数字类型 -->
number<input type="number">
<!-- type="range" 生成一个滑动条  -->
range<input type="range">
<!-- type="search" 具有搜索意义的表单results="n"属性 -->
search<input type="search">
<!-- type="color" 生成一个颜色选择表单 -->
color<input type="color">

input表单type属性值

原文:https://www.cnblogs.com/jsxyz/p/10334244.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!