HTML5 - 月份



根据 ISO 8601 编码的包含年份和月份的日期。

示例

<!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>

输出

html5_web_forms2.htm
广告