title: Validating input type number in html5
body: <p>I want to restrict entry of input onto a field of type number such that input cannot be outside range of min-max specified in the html.</p>
  
  <pre><code>input type = "number" min = "1" max = "5"
  </code></pre>
  
  <p>Is there a way of outputting the number field without the text box and i would rather not use </p>
  
  <p><code>"input type = range"</code> </p>
  
  <p>as slider does not show value currently selected</p>
  
  <p>Please help.</p>
  
  <p>Thanks.</p>