checkbox style in bootstrap code example

Example 1: bootstrap checkbox

<div>
  <div class="row">
    <div class="form-check form-check-inline">
      <input id="checkbox2" type="checkbox">
      <label for="checkbox2">Checkbox not checked</label>
    </div>
    <div class="form-check form-check-inline">
      <input id="checkbox3" type="checkbox" checked="checked">
      <label for="checkbox3">Checkbox checked</label>
    </div>
  </div>
</div>

Example 2: bootstrap checkbox

<!-- Checkbox & Label -->
<div class="form-check">
	<input class="form-check-input" type="checkbox" value="" id="flexCheckDefault">
	<label class="form-check-label" for="flexCheckDefault">
		I want to receive news and updates about this product!
	</label>
</div>

Tags:

Html Example