-
The major difference between minlength and min attribute is ______.
-
- ‘minlength’ is for the minimum value and ‘min’ is for the minimum number of characters
- ‘minlength’ is for single value and ‘minlength’ is for multiple values
- ‘minlength’ is for the minimum number of characters and ‘min’ is for the minimum value
- ‘minlength’ is for multiple values and ‘min’ is for the single value
- None of these
Correct Option: C
minlength attribute use with <input>, <textarea> elements and it defines minimum number of character allowed. Min is used with <input>, <meter> elements and indicates minimum value allowed in element.