Can I apply the required attribute to <select> fields in HTML5?

前端 未结 13 2264
不知归路
不知归路 2020-11-22 16:20

How can I check if a user has selected something from a doesn\'t support the new

相关标签:
13条回答
  • 2020-11-22 16:58

    Try this

    <select>
    <option value="" style="display:none">Please select</option>
    <option value="one">One</option>
    </select>
    
    0 讨论(0)
提交回复
热议问题