ad

Showing posts with label html form radio button html input attribute. Show all posts
Showing posts with label html form radio button html input attribute. Show all posts

Thursday, November 30, 2023

html radio button

 


              HTML Radio button


html radio button code/output


Radio Button information :-

Syntax :-

<input type ="radio">


  1. Input element use to html forms.
  1. The <input> type ="radio"  in radio button.
  1. 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>

Related Post :-

html unordered list

alphabet triangle pattern

php program to print hollow triangle star pattern