Practice ยท 4 of 4
Pair a Label with Its Input
Every input needs a label. Below is a lone input. Add a label element reading Email address, connect it to the input with for/id, and give the input a name of email.
Rules:
- The label comes first, wired with for="email".
- The input has id="email" and name="email".
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Forms & Input โ Practice