Answers for "selected in dropdown"

0

html dropdown selected

'Audi' will be the first item seleted by default:

<label for="cars">Choose a car:</label>

<select id="cars">
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="vw">VW</option>
  <option value="audi" selected>Audi</option>
</select>
Posted by: Guest on July-02-2021

Code answers related to "selected in dropdown"

Browse Popular Code Answers by Language