我有我的代码中的一些错误 这是我的错误:的为标签元素的属性必须是指一个非隐藏表单控件
The for attribute of the label element must refer to a non-hidden form control.
而且MYD代码:
<form action="/search">
<span class="input input--hoshi search-wrapp main-page-open" style="display:block">
<input class="input__field input__field--hoshi" type="text" id="search" name="keyword" placeholder="Search..."/>
<label class="input__label input__label--hoshi input__label--hoshi-color-2" for="input-5">
<!--<span class="input__label-content input__label-content-hoshi">Search...</span>-->
</label>
<span class="icon-serch"></span>
</span>
<input id="search-btn" type="submit" style="display: none;"/>
</form>
它有什么问题?谢谢!