是的,存在输入类型=“ week”,并允许您添加由根据ISO 8601编码的年份和星期数组成的日期。您可以将其添加到以下内容:
<!DOCTYPE HTML> <html> <body> <form action = "/cgi-bin/html5.cgi" method = "get"> Week : <input type = "week" name = "newinput" /> <input type = "submit" value = "submit" /> </form> </body> </html>