Answers for "html label for select option"

1

html label select

<label for="cars">Choose a car:</label>
<select id="cars">
    <option label="Volvo">Volvo (Latin for "I roll")</option>
    <option label="Saab">Saab (Swedish Aeroplane AB)</option>
    <option label="Mercedes">Mercedes (Mercedes-Benz)</option>
    <option label="Audi">Audi (Auto Union Deutschland Ingolstadt)</option>
</select>
Posted by: Guest on September-05-2021

Browse Popular Code Answers by Language