普通 input 的type类型
text,password,hidden,submit,reset,radio,checkbox,file,number,button
input属性
autofoucs 自动获取光标,自动聚焦
<form action="###" method="get">
<!-- email 约束输入内容为 -->
邮箱:<input type="email" value="" autofocus /><br>
<!-- url 约束输入内容为网址 -->
网址:<input type="url" value="" /><br>
<!-- number 约束输入内容为数字
step 属性为,每次的步长
-->
年龄:<input type="number" value="" step="10" /><br>
<!-- color 取色器 -->
取色器:<input type="color" value="" /><br>
<!--
range 滑竿
min 最小值
max 最大值
value 当前值
-->
滑竿:<input type="range" min="0" max="100" value="10" value="" /><br>
<!-- date 显示日期 -->
日期:<input type="date" value="" /><br>
<!-- date 显示日期到月 -->
月份:<input type="month" value="" /><br>
<!-- week 显示当前周 -->
周:<input type="week" value="" /><br>
<!-- time 设置时间 -->
时间:<input type="time" value="" /><br>
<!-- date 设置当地时间 -->
设置当地时间:<input type="datetime-local" value="" /><br>
<!-- image 图片提交按钮 -->
<input type="image" src="../src/1.mp4" width="100" value="" /><br>
<input type="submit" value="提交" />
</form>