INPUT Radio Description:
The radio INPUT tag gives you a way to add radio buttons to .
DTD: HTML5: <!doctype html>
HTML4 Strict: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
HTML4 Transitional or Loose: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
INPUT Radio Web Browser Support:
- AvantGo Palm OS
- AvantGo Windows CE
- Chrome 1, 2, 3, 4, 5
- Firefox 1, 2, 3
- Internet Explorer 2, 3, 4, 5, 6, 7, 8
- Netscape 2, 3, 4, 6, 7, 8
- Opera 3, 4, 5, 6, 7, 8, 9, 10
- Safari 1, 2, 3, 4, 5
HTML Versions
INPUT Radio Attributes:
Global attributes, event attributes and the input tag attributes Plus:
- checked
- required
INPUT Radio Usage:
Standard input radio button
<form>
<input type="radio">
</form>
<form>
<input type="radio"& name="pet" value="dog"gt;
<input type="radio"& name="pet" value="cat"gt;
<input type="radio"& name="pet" value="rabbit"gt;
<input type="radio"& name="pet" value="horse"gt;
<input type="radio"& name="pet" value="other"gt;
</form>
See an example of a radio input tag.
INPUT Radio Special Notes:
Give several radio buttons the same name (as in example 2) to send a single value for one question to the server. Use multiple radio buttons to allow multiple choice questions where only one answer is allowed.
Use the checked attribute to define default values that will automatically be sent to the server if the reader does nothing.

