<form>
  <input name="n"
         type="number"
         min="0"
         max="10"
         step="2"
         value="6">
  <input type="submit" value="Go">
</form>

← back to Dive Into HTML5