html radio button
HTML Radio button
Radio Button information :-
Syntax :-
<input type ="radio">
- Input element use to html forms.
- The <input> type ="radio" in radio button.
- Radio button use to the select exactly only one option from a list or options.
<!DOCTYPE html>
<html>
<head>
<title> radio buttom </title>
</head>
<body bgcolor="pink">
<h4> input type ="radio" value <br>
radio button Use</h4>
<form>
<input type ="radio" name="color" value="red">
red<br>
<input type ="radio" name="color" value="blue">
blue<br>
<input type ="radio" name="color"
value="pink">pink<br>
<input type ="radio" name="color" value=
"purple">purple<br>
<input type ="radio" name="color" value=
"white">white<br><br>
<input type="submit" value="submit">
</form>
</body>
</html>
Post a Comment