Radios & Checkboxes







View code
<p>
  <input type="radio" name="radio" id="radio-1" checked />
  <label for="radio-1">Radio 1</label><br />
  <input type="radio" name="radio" id="radio-2" />
  <label for="radio-2">Radio 2</label><br />
  <input type="radio" name="radio" id="radio-3" />
  <label for="radio-3">Radio 3</label><br />
  <input type="radio" name="radio" id="radio-4" disabled />
  <label for="radio-4">Radio 4 (disabled)</label>
</p>
<p>
  <input type="checkbox" id="checkbox-1" /> <label for="checkbox-1">Checkbox</label><br />
  <input type="checkbox" id="checkbox-2" checked />
  <label for="checkbox-2">Checked Checkbox</label><br />
  <input type="checkbox" id="checkbox-3" disabled />
  <label for="checkbox-3">Disabled Checkbox</label>
</p>