HTML <textarea> minlength Attribute
Example
<form action="action.php">
<textarea minlength="15" name="textareaText">Hello world!</textarea>
<input type="submit" value="Submit">
</form>
Meaning
The minlength attribute specifies the minimum number of characters (UTF-16 code units) required that the user should enter.
Standard Syntax
<textarea minlength="number"> ... </textarea>
Advertisement
Attribute Values
| Value | Description |
|---|---|
| number | Specifies the minimum number of characters allowed in the text area. |