lxwphp

 

下面只写两个类型的代码案例,其他都大同小异

date类型:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>hello</title>
</head>
<body>
<form action="demo_form.php"method="get">
请输入日期: <input type="date" name="date1"/><br />
<input type="submit" />
</form>
</body>
</html>

 

datetime-local类型:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>hello</title>
</head>
<body>
<form action="demo_form.php"method="get">
请选择或输入时间: <input type="datetime-local" name="date1"/><br />
<input type="submit" />
</form>
</body>
</html>

 


文:https://blog.csdn.net/dreamzuora/article/details/78323123

分类:

技术点:

相关文章:

  • 2021-07-10
  • 2021-04-11
  • 2021-11-07
  • 2021-12-06
  • 2021-10-22
  • 2021-08-01
  • 2021-12-10
  • 2021-06-02
猜你喜欢
  • 2021-04-04
  • 2021-12-18
  • 2021-05-18
  • 2021-10-10
  • 2021-10-21
  • 2021-08-18
  • 2021-11-18
相关资源
相似解决方案