Day 9: Form Labels
HTML Masterclass
Current Task
Objective
Labels are critical for form accessibility.
Step 1: Create a <form>.
Step 2: Add a <label> with for="email" and text "Email:".
Step 3: Add an <input> with type="email" and id="email" so the label links to it.
index.html
<form>
<label for="email">Email:</label>
<input type="email" id="email" />
</form>
* Hint: Correct characters turn green, incorrect ones turn red.
Live Preview
🖼️
Verify your code to see the preview