Skip to content
Forum Navigation
You need to log in to create posts and topics.

HTML Date And Time Format

HTML Date And Time Format

 

<html>
<head>
<title>Date And Time</title>
</head>
<body>

<form action="action_page.php">

  Enter a date before 1993-07-25:
  <input type="date" name="bday" max="1993-07-25"><br>

  Enter a date after 2000-01-01:
  <input type="date" name="bday" min="2015-01-02"><br>

  Quantity (between 1 and 5):
  <input type="number" name="quantity" min="1" max="5"><br>

  <input type="submit">
 
</form>

</body>
</html>