set value to select tag while rendering html code example Example: select default value <option selected> 5 </option>