<h3>01 Url类形</h3>
url类形
url当url输入不正确
<h3>email属性</h3>
email属性
email属性
<h3>date属性</h3>
中文翻译:日期
date属性
<h3>time属性</h3>
time属性
<h3>datetime属性</h3>
与time属性区别是UTC时间
datetime属性
<h3>datetime-local属性</h3>
本地时间
datetime-local属性
<h3>month元素</h3>
中文翻译:月
month最多选择到月
<h3>week元素</h3>
中文翻译:周
week元素
<h3>number元素</h3>
number是专门输入数字的元素(并且对提交进行检查)
number元素
可设置最大最小值和每次递增递减数step设置
小案例实现加法运算
<h3>range元素</h3>
中文翻译:范围
range属性
<h3>search属性</h3>
中文翻译:搜索
search属性
<h3>tel属性</h3>
设计为专门输入电话号码的文本框
<h3>color类形</h3>
color类形
<h3>output元素追加</h3>
output元素
<h1>表单验证</h1>
1
image.png