Sunday, May 13, 2018

The following example shows the coShow the code for a Bootstrap page (with a responsive fixed width container)

 The code for a basic Bootstrap page (with a responsive fixed width container)


<!DOCTYPE html> 

<html lang="en"> 
<head> 
<title>Bootstrap Example</title>
 <meta charset="utf-8">   
<meta name="viewport" content="width=device-width, initial-scale=1"> 
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">    
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>    
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head> 
<body>
 <div class="container">  
<h1>My First Bootstrap Page</h1>  
<p>This is some text.</p>  
</div> 
</body>
 </html> 

No comments:

Post a Comment