0
What maxlength attribute do in html?
I did not understand the function of maxlength attribute. Please help if you know what it does.Please explain?
4 Answers
+ 6
It sets a limit to input
+ 4
it set limit for input size
<input type="text" maxlength="30">
now you can't enter more then 30 characters in input text field
+ 4
@Prajwal, How means?
Dhruv gave you the code.
Do you want to know internal working of it?
+ 1
How?