Bootstrap Form CheckBox

BootstrapWeb DevelopmentCSS Framework

Use checkbox class if you want the user to select any number of options from a list. Use .checkbox-inline class to a series of checkboxes for controls appear on the same line.

You can try to run the following code to implement Bootstrap form checkbox

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>Try v1.2 Bootstrap Online</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <label for = "name"></label>Favourite Live Streaming</label>
      <div class = "checkbox">
         <label>
            <input type = "checkbox" value = "">Amazon Prime
         </label>
      </div>
      <div class = "checkbox">
         <label>
            <input type = "checkbox" value = "">Hotstar
         </label>
      </div>
   </body>
</html>
raja
Published on 19-Jun-2018 08:26:39
Advertisements