1, the automatic validation email only need to type=&other; Email”
2, validation of date (date) : type=" Date"
3, the time of validation (format: 00:00) : type=" Time"
4, digital authentication (can up and down) reduction type=" Number"
5, (-- -) in the type=" Month"
6, week week - (-) type=" Week"
7, the range (the range of 0-100) type=" Range"
8, search type=" Search"
9, the color of the color: type=" Color"
10, url validation (must be in front of http://---) type=" Url"

  code is as follows:  


<The form action="Myform. PHP" id="Myform" method="post" >
email: <Input type="email" id='email' required="required"/><Br/>Date:
<Input type="date" id='date'/><Br/>Time:
<Input type="time" id='time'/><Br/>Digital:
<Input type="number" id='number'/><Br/>
: the month <Input type="month" id='month'/><Br/>:
week <Input type="week" id='week'/><Br/>
range: <Input type="range" id='range'/><Br/>
search: <Input type="search" id='search'/><Br/>
color: <Input type="" color" id='color'/><Br/>
<Input type="text" name="auto" value="" list=" movie "/>
<Datalist id="movie" >
<Option> Ha ha ha </option>
<Option> Feed </option>
<Option> Gnome male - "</option>
</datalist>
<Input type="submit" value="http://www.jb51.net//html5/to submit"/>
</form>
url: <Input type="url" id="url" required="required" name="url" form="Myform"/><Br/>
username: <Input type="text" of required="required" placeholder="please enter the user name" form="Myform" autofocus="autofocus" pattern='{5} \ w/>

HTML form new attribute code is as follows:


<Input type="text" name="auto" value="" list=" movie "/>
<Datalist id="movie" >
<Option> Ha ha ha </option>
<Option> Feed </option>
<Option> Gnome male - "</option>
</datalist>

map a:


This concludes the body part