twitter-bootstrap-3 Getting started with twitter-bootstrap-3 Installation


  • Direct Download - download link
  • CDN - get here
  • Bower - bower install bootstrap [read]
  • NPM - npm install bootstrap [read]
  • Composer - composer require twbs/bootstrap [read]
  • Customize - I you have your own config, you can customize here.
  • Sass - For Sass related projects you may get it here.


  <link rel="stylesheet" href="path/to/bootstrap.min.css">

Reference to the bootstrap js file is made using script tag just above body tag (see below). Also note bootstrap is using jQuery for most of it widgets - like accordion carousel etc.. so reference bootstrap js file below the jQuery js file.

<!DOCTYPE html>
<html lang="en">


  <title>Form Bootstrap Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="">


  <div class="container">
    <h2>Form Email</h2>
    <form role="form">
      <div class="form-group">
        <label for="email">Email:</label>
        <input type="email" class="form-control" id="email" placeholder="Enter email">
      <div class="form-group">
        <label for="pwd">Password:</label>
        <input type="password" class="form-control" id="pwd" placeholder="Enter password">
      <div class="checkbox">
        <label><input type="checkbox"> Remember me</label>
      <button type="submit" class="btn btn-default">Submit</button>

  <script src=""></script>
  <script src=""></script>