我有我的代碼中的一些錯誤 這是我的錯誤:的爲標籤元素的屬性必須是指一個非隱藏表單控件
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>
它有什麼問題?謝謝!