Bootstrap Selected Radiobuttons

 

Example with selected radiobutton.

 
 
 
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h3>Radiobuttons</h3> <form role="form"> Q. Which animal is harbivorous in nature from the following? <div class="radio"> <label><input type="radio" name="optradio">Lion</label> </div> <div class="radio"> <label><input type="radio" name="optradio" checked="checked">Cow</label> </div> <div class="radio disabled"> <label><input type="radio" name="optradio">Tiger</label> </div> </form> </div> </body> </html>
Output