step attribute

<form>
<p>
  <label>Pick a  number between 1 and 12: 
  <input type="number" name="number" min='1' max='12' step='0.01'/>
  </label>
</p>
<p>
  <label>Time: 
  <input type="time" min="08:30" max="12:00" name="morning" step='1'/>
  </label>
</p>
<p>
  <label><input type="submit" value="Send data" /></label>
</p>
</form>


Previous | Next | Top | Cafe con Leche

Copyright 2007 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 8, 2007