HTML 101
Forms (continued)

Using checkboxes

Example checkboxes

What do you do? (select all that apply)

Code for Example checkboxes

<fieldset>
<legend>What do you do? (select all that apply)</legend>
<input id="a11y" type="checkbox" name="whatDoYouDo" value="a11y">
<label for="a11y">Accessibility</label>
<input id="devSupport" type="checkbox" name="whatDoYouDo" value="devSupport">
<label for="devSupport">Developer Support</label>
<input id="training" type="checkbox" name="whatDoYouDo" value="training">
<label for="training">Training</label>
<input id="design" type="checkbox" name="whatDoYouDo" value="design">
<label for="design">Design</label>
</fieldset>