HTML5 – 月份 年和月份按照ISO 8601编码组成的日期。 示例 <!DOCTYPE HTML> <html> <body> <form action = "/cgi-bin/html5.cgi" method = "get"> 月份 : <input type = "month" name = "newinput" /> <input type = "submit" value = "提交" /> </form> </body> </html> HTMLCopy 输出