html if option is empty code example Example: select empty option <option disabled selected value> -- select an option -- </option>