HTML5 - date


Advertisements


A date (year, month, day) encoded according to ISO 8601.

Example

<!DOCTYPE HTML>
<html>
   <body>

      <form action = "/cgi-bin/html5.cgi" method = "get">
         Date : <input type = "date" name = "newinput" />
         <input type = "submit" value = "submit" />
      </form>

   </body>
</html>

Output


html5_web_forms2.htm

Advertisements