Welcome Guest! (App Version 3.1)

websitnero logo name

HTML Radio Button

Adding Radio Buttons in Forms

Radio buttons are used to provide user options where he can only make selection of one of the options. Most common uses of radio button are to make user select his gender, like either male or female. Similarly, more scenarios can be created where user data is to be inserted but only one of the multiple options can be selected.

<input type="radio" name="someName" value="someValue">

<input type="radio" name="gender" value="male">


  <input type="radio" name="gender" value="male">Male
  <input type="radio" name="gender" value="female">Female
  <input type="radio" name="gender" value="others">Others
Further Reading

1. <input type="radio">

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.