Home  >  Article  >  Web Front-end  >  Detailed implementation of HTML5 validation and date display_html5 tutorial skills

Detailed implementation of HTML5 validation and date display_html5 tutorial skills

WBOY
WBOYOriginal
2016-05-16 15:49:211967browse
1. Email input box, automatically verify the validity of Email.

Copy code
The code is as follows:





E-mail:






2.number number input, verified correctly, you can set the start and end bits.

Copy code
The code is as follows:








< ;/body>


3. URL input box, which can verify the validity of the URL input.
URL:
< input type="submit"/>

4.Date pickers (date, month, week, time, datetime, datetime-local) selection box, you can select date and time , month, week.

Copy code
The code is as follows:





Date:
month :
week:
time:
datetime:
datetime-local :



< /html>

5.datalist input selection.

Copy code
The code is as follows:




Webpage:




Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn