(i) Which of the following attributes of text box control allow to
limit the maximum character?
A. size
B. len
C. mlength
D.width
Choose the correct option.
Answers
(i) Which of the following attributes of text box control allow to
limit the maximum character?
A. size
B. len
C. mlength Thish is right answer
D.width
Answer:
C. maxlength
Explanation:
The maxlength attribute specifies the most characters (in UTF-16 code units) that a user may enter in a text box or input field. This must be an integer with a value greater than zero. The input or textarea has no maximum length if maxlength is not specified, or if it is specified with an erroneous value. If present and valid, any value of maxlength must be larger than or equal to the value of minlength. If the input's text value is longer than the field's maxlength UTF-16 code units, constraint validation will fail. Only when the value is modified by the user does constraint validation take effect.
Hence , The answer to this question is (C) maxlength
#SPJ3