Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

empty pre-selected option html

<select>
    <option disabled selected value> -- select an option -- </option>
    <option>Option 1</option>
    <option>Option 2</option>
    <option>Option 3</option>
</select>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #empty #option #html
ADD COMMENT
Topic
Name
9+3 =