Multiple choice

Which of the following attributes of a textbox limits the number of characters it can hold?

  1. length

  2. value

  3. size

  4. limit

  5. maxlength

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

The maxlength attribute specifies the number of characters that the user can enter in a textbox. This value can be more than the value specified for the 'size' attribute.