根据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>
运行上面代码输出
链接:https://www.learnfk.comhttps://www.learnfk.com/html5/html5-month.html
来源:LearnFk无涯教程网
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)