Which HTML element correctly associates a label with an input?
- A <label for="email"> with <input id="email">
- B <label name="email">
- C <input label="email">
- D <span class="label">
Answer
<label for="email"> with <input id="email">
The for attribute must match the input's id. This makes the label clickable and ensures screen readers announce the field correctly.





