Day 11: Dropdowns (Select)
HTML Masterclass
Current Task
Objective
Dropdown menus save space.
Step 1: Create a <select> tag with name "cars".
Step 2: Add two <option> tags inside.
Step 3: Set the first value to "volvo" (text "Volvo") and the second to "fiat" (text "Fiat").
index.html
<select name="cars">
<option value="volvo">Volvo</option>
<option value="fiat">Fiat</option>
</select>
* Hint: Correct characters turn green, incorrect ones turn red.
Live Preview
🖼️
Verify your code to see the preview