Radio Button

  • STEPS

    1. radio button

    
                     <input type="radio" name="optradio" value="">
                     
    A radio input should have type , name and value

    2. with label

    
                     <div class="radio">
                      <label><input type="radio" name="optradio" checked  value="" >Option 1</label>
                    </div>
                    <div class="radio">
                      <label><input type="radio" name="optradio"  value="">Option 2</label>
                    </div>
    
                    

    3. Inline radio button

    
                   <label class="radio-inline"><input type="radio" name="optradio" checked>Option 1</label>
                  <label class="radio-inline"><input type="radio" name="optradio">Option 2</label>
                  <label class="radio-inline"><input type="radio" name="optradio">Option 3</label>