The ______ attribute in the label element is used to associate the label with a form control.

  • attach 
  • bind 
  • for 
  • rel 
The for attribute in the label element is essential for associating the label with a specific form control. This association enhances accessibility because, when a user clicks on the label, the associated control (like a text box or radio button) is selected or activated. It also ensures screen readers correctly read the label for users with disabilities. 
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *