Answers for "html5 select option 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
0

html select placeholder

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

Code answers related to "html5 select option placeholder"

Browse Popular Code Answers by Language