Bootstrap page-header class

BootstrapWeb DevelopmentCSS Framework

Page header is used to add appropriate spacing around the headings on a page.

To use a page header, wrap your heading in a <div> with a class of .page-header −

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <div class = "page-header">
         <h1>
            Header
            <small>Subtext for header</small>
         </h1>
      </div>
      <p>Demo text! Demo text! Demo text! Demo text! Demo text!
         Demo text! Demo text! Demo text! Demo text!
      </p>
   </body>
</html>
raja
Published on 20-Jun-2018 12:50:57
Advertisements