How to show disable HTML select option in by default?
use
<option selected="true" disabled="disabled">Choose Tagging</option>
Use hidden
.
<select>
<option hidden>Choose</option>
<option>Item 1</option>
<option>Item 2</option>
</select>
This doesn't unset it but you can however hide it in the options while it's displayed by default.
In HTML5
, to select a disabled option:
<option selected disabled>Choose Tagging</option>