HTML5 Time Element in Form with Milliseconds - HTML CSS CSS Form

HTML CSS examples for CSS Form:Form

Description

HTML5 Time Element in Form with Milliseconds

Demo Code

ResultView the demo in separate window


<html>
 <head> 
  <meta name="viewport" content="width=device-width"> 
 </head> <!--  ww  w .  ja va2s  .c o m-->
 <body> 
  <input type="time" step="0.001"> 
  <input id="test" type="datetime-local" step="0.001"> 
  <input type="button" onclick="console.log(document.getElementById('test').value)">  
 </body>
</html>

Related Tutorials