Answers for "select by default empty"

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 by default empty"

Browse Popular Code Answers by Language