18.
How should you structure the label for a checkbox in HTML?
<input type="checkbox" label="Check this box">
<checkbox>Check this box</checkbox>
<label>Check this box</label>
<label for="checkbox">Check this box</label>
Correct: D
To create a label for a checkbox in HTML, you should use the <label> tag with the for attribute. The for attribute should have the same value as the id attribute of the checkbox input element. This helps improve accessibility and usability. The correct structure would be <label for="checkbox">Check this box</label>.