Answers for "select value placeholder"

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
1

placeholder in html select

<option value="" selected disabled hidden>Select Here</option>
Posted by: Guest on September-29-2020

Browse Popular Code Answers by Language