HTML5 – time 按照ISO 8601标准编码的时间(小时,分钟,秒,分数秒)。 例子 <!DOCTYPE HTML> <html> <body> <form action = "/cgi-bin/html5.cgi" method = "get"> Time : <input type = "time" name = "newinput" /> <input type = "submit" value = "submit" /> </form> </body> </html> HTMLCopy 输出