1<form method="post" action="/Tests/Post/">
2 <fieldset>
3 <legend>What is Your Favorite Pet?</legend>
4 <input type="checkbox" name="favorite_pet" value="Cats">Cats<br>
5 <input type="checkbox" name="favorite_pet" value="Dogs">Dogs<br>
6 <input type="checkbox" name="favorite_pet" value="Birds">Birds<br>
7 <br>
8 <input type="submit" value="Submit now" />
9 </fieldset>
10</form>
1<style>
2#checkboxes label{
3 display:block;
4 padding:5px;
5}
6</style>
7<div id="checkboxes">
8 <label for="one"><input type="checkbox" id="one" />First</label>
9 <label for="two"> <input type="checkbox" id="two" />Second </label>
10 <label for="three"><input type="checkbox" id="three" />Third </label>
11</div>