我有一個標簽導航,在第二個標簽內我有一個復選框開關,可以折疊和展開一個 div。
這一切都有效,但在 W3 驗證器上我得到了這個:

<div class="form-check form-switch">
<input class="form-check-input"
type="checkbox" id="check-send-password"
data-bs-toggle="collapse"
href="#resetpassword" role="button"
aria-expanded="false"
aria-controls="resetpassword"
aria-pressed="true">
</div>
如何讓 W3 在保持其功能的同時驗證此檔案?我懷疑這與它在頁面加載時不可見有關。
uj5u.com熱心網友回復:
我變了:
href="#resetpassword"
至:
data-bs-target="#resetpassword"
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/530159.html
標籤:html推特引导
