HTML input box : numeric values only - HTML CSS CSS Form

HTML CSS examples for CSS Form:input

Description

HTML input box : numeric values only

Demo Code

ResultView the demo in separate window

<html>
 <head></head> 
 <body> 
  <div class="form-group"> 
   <br> 
   <label class="control-label">Lorem ipsum d</label> 
   <input type="number" id="hours" name="hours" placeholder="Please input total number of hours spent on this job." class="form-control"> 
  </div>  <!--from w  w w .ja v  a  2s. c  o  m-->
 </body>
</html>

Related Tutorials