Thursday, March 19, 2015

Page Header Bootstrap

This feature allows you to add appropriate space around the headings on the page. When you have many titles in your page to make a distinction in between them and a header you require a page header. It helps in between page title and headings.

Example:

 <!DOCTYPE html>  
 <html>  
 <head lang="en">  
   <meta charset="UTF-8"/>  
   <title>joeandy's workshop</title>  
   <meta name="viewport" content="width=device-width, initial-scale=1"/>  
   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>  
 </head>  
 <body>  
 <div class="container">  
 <div class="page-header">  
   <h1>This is an example of page header  
    <small>subtext for page header</small>  
   </h1>  
 </div>  
 </div>  
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>  
 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>  
 </body>  
 </html>  

No comments:

Post a Comment