Answers for "html select no default"

3

select empty option

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

default select option

<select>
  <option value="" selected disabled hidden>Choose here</option>
  <option value="1">One</option>
  <option value="2">Two</option>
  <option value="3">Three</option>
  <option value="4">Four</option>
  <option value="5">Five</option>
</select>
Posted by: Guest on May-03-2020
0

html select default value disabled

<select>
   <option hidden>Choose</option>
   <option>Item 1</option>
   <option>Item 2</option>
</select>
Posted by: Guest on September-20-2021

Browse Popular Code Answers by Language