Coding For Dummies
Book image
Explore Book Buy On Amazon

Twitter Bootstrap is a free toolkit that allows users to create web pages quickly and with great consistency. Install and add Bootstrap to your HTML file by following these two steps:

  1. Include this line of code between your opening and closing tag:

    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">

    The tag refers to version 3.2.0 of the Bootstrap CSS file hosted on the Internet, so you must be connected to the Internet for this method to work.

  2. Include both these lines of code immediately before your closing HTML tag.

    <!--jQuery (needed for Bootstrap's JavaScript plugins) →
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <!--Bootstrap Javascript plugin file →
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>

    The first

About This Article

This article is from the book:

About the book author:

Nikhil Abraham is the CFO of Udacity, an education company that teaches technology skills that help launch or advance a career. Prior to joining Udacity, Nik worked at Codecademy where he taught beginning coders across a variety of professions. He is also author of Coding For Dummies and Getting a Coding Job For Dummies.

This article can be found in the category: