Name
<input>
Synopsis
<input type=radio>
Description
Create a radio-button input element within a <form>.
Attributes
-
accesskey=char Define the hot-key character for this element.
-
checked Mark the element as initially selected.
-
disabled Disable this control, making it inactive.
-
name=string Specify the name of the parameter that is passed to the form-processing application if this input element is selected (required).
-
notab 
Specify that this element is not part of the tabbing order.
-
readonly Prevent user modification of this element.
-
tabindex=n Specify this element’s position in the tabbing order.
-
taborder=n 
Specify this element’s position in the tabbing order.
-
value=string Specify the value of the parameter that is passed to the form-processing application if this element is selected (required).
See Chapter 6 for more information on using forms.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access