HTML Forms
Forms collect input from visitors. The <form> element wraps <input> fields, each paired with a <label>.
Examplehtml
Always connect a label to its field with for and id. This helps screen readers and makes the label clickable.
Quick check
What links a label to an input?
Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.
Tip: use the left and right arrow keys to move between lessons.