Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html select placeholder

<select style='color:gray' oninput='style.color="black"'>
  <option style='display:none'>
    Choose an option
  </option>
  <option>
    1
  </option>
  <option>
    2
  </option>
  <option>
    3
  </option>
</select>
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #html #select #placeholder
ADD COMMENT
Topic
Name
1+3 =