DevFuria Labs

Este exemplo faz parte do site www.devfuria.com.br/php

Veja o projeto no GiHub.

I have a bike

I have a car

<!DOCTYPE html>
<html lang="pt-br">
    <head>
        <title>Form de exemplo com checkboxes</title>
        <meta charset="utf-8">
    </head>
    <body>
        <form action="form-action.php" method="post">
            <p>
                <input type="checkbox" name="bike" value="on">I have a bike
            </p>
            <p>
                <input type="checkbox" name="car" value="on">I have a car
            </p>
            <p>
                <input type="submit" value="Submit me!" />
            </p>
        </form>
    </body>
</html>