DevFuria Labs

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

Veja o projeto no GiHub.

<!DOCTYPE html>
<html lang="pt-br">
    <head>
        <title>Form de exemplo com radios</title>
        <meta charset="utf-8">
    </head>
    <body>
        <form action="form-action.php" method="post">
            <p>
                <input type="radio" name="band-rock" value="beatles"/>The Beatles
                <input type="radio" name="band-rock" value="led-zeppelin"/> Led Zeppelin
                <input type="radio" name="band-rock" value="pink-floyd"/>Pink Floy
            </p>
            <p>
                <input type="button" value="Submit me!" />
            </p>
        </form>
        <script type="text/javascript" src="radios.js"></script>
    </body>
</html>