# Prerequisites

Before getting started, you need the following:

- An unzipped copy of the latest version of Bootstrap (which includes all CSS, JavaScript, and images).
- An editor of your choice for writing code (I recommend Sublime Text 2).
- Some working knowledge of HTML and CSS.

When ready, proceed to the next section, File structure.

# File structure

Once unzipped, the structure of Bootstrap’s files looks like this:

- bootstrap/
  - css/
    - bootstrap.css
    - bootstrap.min.css
  - js/
    - bootstrap.js
    - bootstrap.min.js
  - img/
    - glyphicons-halflings.png
    - glyphicons-halflings-white.png
  - README.md

This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). The image files are compressed using ImageOptim, a Mac app for compressing PNGs.

# What's included

Bootstrap comes equipped with CSS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation:

- Scaffolding: Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.
- Base CSS: Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes Glyphicons, a great little icon set.
- Components: Basic styles for common interface components like tabs and pills, navbar, page headers, and more.
- Javascript plugins: Similar to the Components section, these Javascript plugins are interactive components for things like tooltips, popovers, modals, and more.

Together, the Components and Javascript plugins sections provide the following interface elements:

- Button groups
- Button dropdowns
- Navigational tabs, pills, and lists
- Navbar
- Labels
- Badges
- Page headers and hero unit
- Thumbnails
- Alerts
- Progress bars
- Modals
- Dropdowns
- Tooltips
- Popovers
- Accordion
- Carousel
- Typeahead

In future guides, we may walk through these components individually in more detail. Until then, look for each of these in the documentation for information on how to utilize and customize them.

# Basic HTML template

Now that we’ve got the basic information on Bootstrap out of the way, we can focus on getting started. To do that, we’ll utilize a basic HTML template that includes everything we’ve mentioned in the File structure.

As previously mentioned, we won’t cover the basics of writing HTML and CSS here. Instead, we’ll leapfrog through various points in web development complexity to give you the broadest and most complete overview.

Now, here’s a look at a typical HTML file:

      <html>
        <head>
          <title>Bootstrap 101 Template</title>
        </head>
        <body>
          <h1>Hello, world!</h1>
        </body>
      </html>

To make this a Bootstrapped template, just include the appropriate CSS and JS files:

      <html>
        <head>
          <title>Bootstrap 101 Template</title>
          <!-- Bootstrap -->
          <link href="css/bootstrap.min.css" rel="stylesheet">
          <script src="js/bootstrap.min.js"></script>
        </head>
        <body>
          <h1>Hello, world!</h1>
        </body>
      </html>

And you’re set. With those two files added, you can begin to write Bootstrap-friendly HTML, CSS, and JS to build any site or application you like. Head to the Bootstrap docs for information, examples, and even code snippets for the Bootstrap grid system, base HTML styles, components, and even responsive features.