pre selected option html depending on a value code example Example: select default value <option selected> 5 </option>