title: HTML5 : Input field with the type of 'number' will still accept higher value than its 'max' using keyboard inputs
body: <p>Hello guys need some help here. i want to have limit the numbers inputted in my input field by putting max attribute to it. i have no problem with that until i use my keyboard to input data on it. seems like the max attribute is not filtering the input coming from the keyboard. </p>
  
  <p>e.g</p>
  
  <pre><code>&lt;input type="number" max="5" /&gt;
  </code></pre>
  
  <p>i can't go until <code>6</code> using the up and down arrow but when i manually put <code>6</code> using keyboard it's accepts it. how can i prevent? thank you</p>