HTML5 - month


Advertisements

A date consisting of a year and a month encoded according to ISO 8601.

Example

<!DOCTYPE HTML>

<html>
   <body>

      <form action = "/cgi-bin/html5.cgi" method = "get">
         Month : <input type = "month" name = "newinput" />
         <input type = "submit" value = "submit" />
      </form>
   </body>
</html>

Output

html5_web_forms2.htm
Advertisements