select offers a choice among options. For a required single-choice select, the first option with an empty value acts as the initial prompt; real options have non-empty submitted values.
The control has no label, id, name or required state. Its only option declares no value and there is no separate initial prompt.
STEP 2 · APPLY
Your exercise
Complete the example. Offer an initial prompt and at least three real options in a labelled select.
STEP 3 · BUILD
Write and see the result
index.htmlHTML
Safe resultisolated
The draft stays only in this browser.HTML and CSS allowed · scripts and network blocked
STEP 4 · CHECK
What needs to pass
0%not checked
○The select has id, name and required.
○The first option is the initial prompt with an empty value.
○The select contains three real options with values.
○The select has a connected label.
Explain the solution logic+
Connect the label through for and id, add name and required, then create the first option with an empty value and three more options with distinct values.
ANALYSIS REQUEST
Tell me briefly what you want to improve.
The initial discussion is without obligation. You receive an honest recommendation, suitable stages and the factors that affect price.
scheduleabout 2 minutestask_altno obligation
mark_email_readAfter sending, you receive an email confirmation and we continue through your chosen channel.
YOUR CONTROL
Cookie preferences
Necessary cookiesSave your preference and protect the form.
Anonymous analyticsHelps us understand which pages are useful, only after consent.