源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> </head> <body> <form action="action_page.php"> 生日 (日期和时间): <input type="datetime-local" name="bdaytime"> <input type="submit" value="Send"> </form> </body> </html>
运行结果