![]() |
Definition and Usage
The Applies to
The
Browser Support
The
|
Example:
HTML
<form action="/action_page.php"> <label for="username">Username:</label> <input type="text" id="username" name="username" maxlength="10"><br><br> <input type="submit" value="Submit">
</form>
Example:
HTML
<textarea maxlength="50">
Enter text here...
</textarea>
html maxlength attribute |
How to add An <input> element with a maximum length of 10 characters | HTML Attribute |
How to add A text area with a maximum length of 50 characters | HTML Attribute |
Type
: |
Develop |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Attribute |
Uploaded by
: |
Admin |
Read Article https://horje.com/learn/1434/reference