<!DOCTYPE html>
<html  xmlns="http://www.w3.org/1999/xhtml">

<!--
    playing with checkboxes
    
    by: Sharon Tuttle 
    last modified: 2016-03-04
-->

<head>  
    <title> playing with checkboxes </title>
    <meta charset="utf-8" />

    <link 
        href="http://users.humboldt.edu/smtuttle/styles/normalize.css" 
        type="text/css" rel="stylesheet" />
    <link href="ckbox-play.css" type="text/css" 
          rel="stylesheet" />
</head> 

<body> 

    <h1> playing with checkboxes </h1>

    <form method="get"
          action=
          "http://nrs-projects.humboldt.edu/~st10/328lab07-1/show-checked.php">
        <fieldset>
            <legend> Which of these do you have? </legend>
            <label> <input type="checkbox" name="bike" />
                    Bicycle </label>
            <label> <input type="checkbox" name="car" />
                    Car </label>
            <label> <input type="checkbox" name="skateboard" />
                    Skateboard </label>
            <label> <input type="checkbox" name="horse" />
                    Horse </label>
        </fieldset>

        <div class="sub_button">
            <input type="submit" value="submit info" />
        </div>
    </form>

    <!-- refactoring based on M. Lemos comment on 2016-03-02 -->

    <?php
        require_once("328footer-better.html");
    ?>

</body>
</html>