The Low Down
minlength attribute sets the minimum number of characters that an
<textarea> can accept.
- When supported, it will be applicable to freeform data entry inputs like
text, email, url, etc
- For textareas: Unlike the
maxlengthattribute which is very well supported (and has been around for a long time), the
minlengthattribute is not supported in any browser yet.
- For inputs: The
minlengthattribute is new, and not yet supported in any browser.
- Doesn’t limit the value: a preset value will pass validation.