हिंदी

A label’s for attribute should match the input’s ______.

Advertisements
Advertisements

प्रश्न

A label’s for attribute should match the input’s ______.

विकल्प

  • type

  • id

  • name

  • size

MCQ
रिक्त स्थान भरें
Advertisements

उत्तर

A label’s for attribute should match the input’s id.

Explanation:

A <label> tag’s for attribute and the attached input element’s id attribute must match. A label that provides a textual description or caption for the input field can be linked to a form control using the for attribute.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: HTML- III: Audio, Video and Forms - Assignment [पृष्ठ २३३]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×