html select setting the default value on the select element code example Example: select default value <option selected> 5 </option>