Answers for "selected attribute in select tag"

0

selected attribute in select tag

<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 August-08-2021

Code answers related to "selected attribute in select tag"

Browse Popular Code Answers by Language