Answers for "select option with empty value"

16

select empty option

<select name="color" id="color" required>
	<option value="" selected disabled hidden>Choose color...</option>
    <option value="R">Red</option>
    <option value="B">Blue</option>
</select>
Posted by: Guest on April-13-2021
3

select empty option

<option disabled selected value> -- select an option -- </option>
Posted by: Guest on June-23-2020

Code answers related to "select option with empty value"

Browse Popular Code Answers by Language