how to use placeholder for SELECT like we have used for INPUT TYPE=“TEXT”
How to use placeholder for select element which have options
If you want to make a default option in select use “selected” in option you want to select the default option:
<select name="plan" id="plan"> <option value="free">Free</option> <option value="starter" selected>Starter </option> <option value="professional">Professional</option> <option value="corporate">Corporate</option> </select>
Read this: https://www.geeksforgeeks.org/how-to-set-the-default-value-for-an-html-select-element/
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.