About

Breaking

Monday 22 May 2017

Radio Button Input



<input type="radio"> defines a radio button.
Radio buttons let a user select ONE of a limited number of choices:

                                                                  

<html>
<body>

<form>
  <input type="radio" name="gender" value="male" checked> Male<br>
  <input type="radio" name="gender" value="female"> Female<br>
  <input type="radio" name="gender" value="other"> Other 
</form>

</body>
</html>   

 

                        

No comments:

Post a Comment