Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

placeholder select html

<!DOCTYPE html>
<head>
</head>
<body>
  <select name="food">
    <!-- The following line makes a placeholder -->
    <option value="" disabled selected hidden>select food</option>
    <option value="apple">apple</option>
    <option value="melon">melon</option>
  </select>
</body>
 
PREVIOUS NEXT
Tagged: #placeholder #select #html
ADD COMMENT
Topic
Name
1+9 =