Bootstrap Tutorial - Create page header with sub header








The following code shows how to create page header with sub header.

Example

<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet"
  href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet"
  href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<script
  src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script
  src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!--   www.  j  a  va  2  s .  co  m-->
</head>
  <body>
    <div class="container">
      <div class="page-header">
        <h1>Chapter 3 <small>Exploring Bootstrap Components</small></h1>
    </div>
    <hr>
  </body>
</html>

Click to view the demo