How can I set the default value for an HTML element?

Set selected="selected" for the option you want to be the default.

<option selected="selected">
3
</option>

Leave a Comment