<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<form action="*" method="get">
E-mail:<input type="email" name="email"/></br></br>
URL:<input type="url" name="url" /></br></br>
Number:<input type="number" min="5" max="10" name="number"/></br></br>
Range:<input type="range" min="1" max="10" name="range" /></br></br>
Date:<input type="date" name="date" /></br></br>
Month:<input type="month" name="month"/></br></br>
Week:<input type="week" name="week" /></br></br>
Time:<input type="time" name="time"/></br></br>
DateTime:<input type="datetime" name="datetime" /></br></br>
Datetimelocal:<input type="datetime-local" name="datetime-local" /></br></br>
Search:<input type="search" name="search"/></br></br>
Tel:<input type="tel" name="tel" /></br></br>
Color:<input type="color" name="color" /></br></br>
<!-- 下拉列表 -->
DataList:<input type="url" list="url_list" name="datalist"/>
<datalist id="url_list">
<option label="0" value="www.baidu.com"></option>
<option label="1" value="www.taobao.com"></option>
<option label="2" value="www.jingdong.com"></option>
</datalist></br></br>
<input type="submit" value="提交" />
</form>
</body>
</html>
web前端基础(10html5的表单)
猜你喜欢
转载自blog.csdn.net/chehec2010/article/details/104446189
今日推荐
周排行