Checkbox

Example 3.6 - Form: checkboxes - Example 3.6
<form method="get" action="https://cscie12.dce.harvard.edu/echo">
What ice cream do you like?<br/>
<input type="checkbox" name="icecream" value="chocolate"/>Chocolate<br/>
<input type="checkbox" name="icecream" value="chocolate peanut butter"/>Chocolate Peanut Butter<br/>
<input type="checkbox" name="icecream" value="vanilla"/>Vanilla<br/>
<input type="checkbox" name="icecream" value="strawberry"/>Strawberry<br/>
<input type="submit" name="action" value="Proceed"/>
</form>
What ice cream do you like?
Chocolate
Chocolate Peanut Butter
Vanilla
Strawberry
 

Copyright © David Heitmeyer