Answers for "is there placeholder in select"

9

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>
Posted by: Guest on December-21-2020
0

html select placeholder

<option default>Select Your Beverage</option>
Posted by: Guest on March-15-2021

Browse Popular Code Answers by Language