<!DOCTYPE html> <html lang="en"> <head> <title>The Min And Max Attribute</title> </head> <body> <form action="examples/resources/submit.aspx"> Enter Your Age: <input type="number" id="age" name="age" min="0" max="120"><br /><br /> Select Your Birthdate: <input type="date" id="birthdate" name="birthdate" max="2005-01-01"><br /><br /> Select Appointment Time: <input type="time" id="appointment-time" name="appointment-time" min="09:00" max="17:00"> <hr /> <input type="submit" value="Submit" /> </form> </body> </html>