title: Maximum allowed value for <input type="text"/>
body: <p>I have this input field:</p>
  
  <pre><code>&lt;input type="text"/&gt;
  </code></pre>
  
  <p>How can I allow entering only a number that is not greater than some predefined value, like for example 10, so every attempt to enter a number greater than 10 won't be allowed?</p>