滑块和搜索框
滑块和搜索框
1. 滑块 input type="range"
<!--验证功能框
4.滑块 range
例如用滑块调整音量,要设置step和min max
-->
<p>音量滑块 :
<input type="range" name="voice" min="0" max="100" step="0.5"/>
</p>
一定要设置min和max:滑块拖动范围
设置step:每次拖动多少
2. 搜索框 input type="search"
<!--验证功能框
5.搜索框 search
-->
<p>搜索框 :
<input type="search" name="search"/>
</p>