如何創建6個複選框,如下所示?我知道如何隱藏複選框,但我怎麼能這樣才能點擊文本?在html中創建6個複選框
<tr>
<td class = "first">Select Folder(s)</td>
<td class = "second">
<input id="hw" type="checkbox">hw1
<input id="hw" type="checkbox">hw2
<input id="hw" type="checkbox">hw3
<input id="hw" type="checkbox">hw4
<input id="hw" type="checkbox">hw5
<input id="hw" type="checkbox">hw6
</td>
它應該是這樣的:
選擇Foler | (hw1)(hw2).....
和hw複選框應該是可點擊的,我需要能夠選擇多個。
將輸入和文本包裝在標籤元素中。 – j08691 2014-11-03 02:06:24
我認爲您正在尋找可以將文本與輸入相關聯的'
你正在尋找可憐的可用性。如果您隱藏複選框,則用戶看不到他所選的內容。如果你打算在CSS中解決這個問題,你應該顯示CSS代碼,因爲它實質上會影響問題。 – 2014-11-03 06:02:38