input required属性
转载
如果使用该属性,则字段是必填(或必选)的。
<input type="text" required="required" placeholder="please input your title" autofocus="autofocus"/>
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章