default value javascript attribute in select code example Example: select default value <option selected> 5 </option>