, I know we can set default option value by using
selected
<select selected= "saab">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="vw">VW</option>
<option value="audi" >Audi</option>
</select>
No. The only way, in HTML, to set the default option is to use the selected
attribute on the option.
This avoids the need to provide id
attributes for options (given that multiple options can share the same value) and it also because a select element can have multiple options selected at the same time (if the multiple
attribute is set).