Advertisements
Advertisements
प्रश्न
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
MCQ
रिक्त स्थान भरें
Advertisements
उत्तर
A developer can restrict the values accepted in a text field by specifying a maxlength attribute.
Explanation:
By defining a maxlength attribute, a developer can limit the values that can be entered into a text field. It indicates how many characters the user may type into the text area.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
