title: How I set maxLength attribute in <input type='number'> in HTML5?
body: <p>I want maxLength Validation in  in HTML5.</p>
  
  <p>I tried like this</p>
  
  <pre><code>&lt;input type="number" name="trainer_mobile_no[]" maxlength="10" class="form-control" required="required"/&gt;
  </code></pre>