Harvard Extension School
CSCI E-12 Fundamentals of Web Site Development | Spring 2020

## Radio Buttons

Example 3.5 - Form: radio buttons - Example 3.5

- Markup
- Display

    <form method="get" action="https://cscie12.dce.harvard.edu/echo">
    Email Address:
    <input type="text" name="email" size="50"/><br/>Please send me email updates:<br/>
    <input type="radio" name="sendupdates" value="yes" checked="checked"/>yes<br/>
    <input type="radio" name="sendupdates" value="no"/>no<br/>
    <input type="submit" name="action" value="Proceed"/>
    </form>

Email Address:
Please send me email updates:
yes
no

Copyright © David Heitmeyer