我有一个选择输入
<select>
<option value="false">OFF</option>
<option value="true">ON</option>
</select>
答案 0 :(得分:1)
将选项设置为disabled
和selected
<select>
<option selected disabled>Auto Play:</option>
<option value="false">OFF</option>
<option value="true">ON</option>
</select>