HTML5 Datetime-local Input Type - HTML CSS HTML

HTML CSS examples for HTML:Form Input

Description

HTML5 Datetime-local Input Type

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html lang="en">
 <head> 
  <title>HTML5 Datetime-local Input Type</title> 
 </head> <!--from   w w  w  .  j  a  v  a  2s . c om-->
 <body> 
  <form> 
   <label> Local Date &amp; Time: <input type="datetime-local" name="mylocaldatetime"> </label> 
  </form>   
 </body>
</html>

Related Tutorials