Simple html page using Bootstrap

Posted by Athashri on Stack Overflow See other posts from Stack Overflow or by Athashri
Published on 2014-05-28T09:09:59Z Indexed on 2014/05/28 9:25 UTC
Read the original article Hit count: 224

I am writing a simple HTML page using the Twitter Bootstrap.

But the navbar and links are rendered as normal HTML on the browser.

I have referred to multiple sites but the same steps are given everywhere. I am not sure where I am going wrong.

Code:

    <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8"> 

<link rel= "stylesheet" href= "css/bootstrap.css"  type="text/css">

<title> Bootstrap example</title>
</head>
<body>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
 <script src="js/bootstrap.js"></script>
<h1>Hello, world!</h1>
 <div class ="container">

 <h1><a href="#">Bootstrap Site</a></h1>
 <div class="navbar">
              <div class="navbar-inner">
                <div class="container">
                  <ul class="nav">
                    <li class="active"><a href="#">Home</a></li>
                    <li><a href="#">Projects</a></li>
                    <li><a href="#">Services</a></li>
                    <li><a href="#">Downloads</a></li>
                    <li><a href="#">About</a></li>
                    <li><a href="#">Contact</a></li>
                  </ul>
                </div>
              </div>
            </div>
            </div>
</body>
</html>

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery