CBSE Class 10 Computer Applications
Question 22 of 48
HTML III — Audio, Video and Forms — Question 11
Back to all questions 11
Question Question 11
A developer can restrict the values accepted in a text field by specifying a ............... attribute.
- size
- maxlength
- value
- You cannot restrict text values using HTML
maxlength
Reason — A developer can restrict the values accepted in a text field by specifying a maxlength attribute. It specifies the maximum number of characters a user can enter into the text box.