Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

65 lines (61 sloc) 1.99 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Checkable items examples</title>
</head>
<body>
<form>
<fieldset>
<legend>Choose all the vegetables you like to eat</legend>
<ul>
<li>
<label for="carrots">Carrots</label>
<input type="checkbox" checked id="carrots" name="carrots" value="carrots">
</li>
<li>
<label for="peas">Peas</label>
<input type="checkbox" id="peas" name="peas" value="peas">
</li>
<li>
<label for="cabbage">Cabbage</label>
<input type="checkbox" id="cabbage" name="cabbage" value="cabbage">
</li>
<li>
<label for="cauli">Cauliflower</label>
<input type="checkbox" id="cauli" name="cauli" value="cauli">
</li>
<li>
<label for="broc">Broccoli</label>
<input type="checkbox" id="broc" name="broc" value="broc">
</li>
</ul>
</fieldset>
<fieldset>
<legend>What is your favorite meal?</legend>
<ul>
<li>
<label for="soup">Soup</label>
<input type="radio" checked id="soup" name="meal" value="soup">
</li>
<li>
<label for="curry">Curry</label>
<input type="radio" id="curry" name="meal" value="curry">
</li>
<li>
<label for="pizza">Pizza</label>
<input type="radio" id="pizza" name="meal" value="pizza">
</li>
<li>
<label for="tacos">Tacos</label>
<input type="radio" id="tacos" name="meal" value="tacos">
</li>
<li>
<label for="bolognaise">Bolognaise</label>
<input type="radio" id="bolognaise" name="meal" value="bolognaise">
</li>
</ul>
</fieldset>
</form>
</body>
</html>
You can’t perform that action at this time.