Bootstrap checkbox class

When building a form, use the 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 the Bootstrap checkbox class −


Live Demo

<!DOCTYPE html>
      <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>
      <label for = "name">Favourite Live Streaming</label>
      <div class = "checkbox">
            <input type = "checkbox" value = "">Amazon Prime
      <div class = "checkbox">
            <input type = "checkbox" value = "">Hotstar