<!DOCTYPE html>
<html>

<!--
    a first example of HTML5 radio button controls
    by: Sharon Tuttle
    last modified: 2-11-13
-->

<head>  
    <title> Playing with radio buttons</title>
    <meta charset="utf-8" />
</head> 

<body> 
    <h1> Playing with radio buttons </h1>
    <h2> adapted from "Web Programming Step by Step", 
         2nd ed, pp. 214-216 </h2>

    <form action="http://users.humboldt.edu/smtuttle">
        Choose a color: <br />
        <input type="radio" name="color" 
               value="red" /> Red
        <input type="radio" name="color" 
               value="purple" 
               checked="checked" /> Purple
        <input type="radio" 
               name="color" value="blue" /> Blue
        <input type="radio" 
               name="color" value="orange" /> Orange <br />
        <input type="submit" value="submit" />
    </form>

    <hr />   

    <p>
        <a href="http://validator.w3.org/check/referer">
        Validate this HTML5 page
        </a>
    </p>

    <p>
        For full credit, this page must also pass the tests at
        <a href="http://lint.brihten.com/html/">
        http://lint.brihten.com/html/ </a> when its URL is
        entered (and without modifying the default options).
    </p>

</body> 
</html>