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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
