empty() take the first value of select code example Example: select empty option <option disabled selected value> -- select an option -- </option>