हिंदी

A developer can restrict the values accepted in a text field by specifying a ______ attribute.

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: HTML- III: Audio, Video and Forms - Assisted Practice [पृष्ठ २२९]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
अध्याय 5 HTML- III: Audio, Video and Forms
Assisted Practice | Q 11. | पृष्ठ २२९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×