Form: Radio Input

The following line defines a radio button. Radio buttons let users select ONE of a limited number of choices:

<input type="radio">
HTML file: Displayed by browser:
<form>
Gender: <br />
  <input type="radio" name="sex" value="male" checked>Male
  <br />
  <input type="radio" name="sex" value="female">Female
<br /><br /> <input type="submit">
</form>
Gender:
Male
Female

Notes:

Back button Table of Contents Next button