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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
