Easy learning with example program codes

Bootstrap Page Header Tutorial

The .page-header class is used to add page header. A page header is like a section divider. It adds a horizontal line under the heading. To create a page header we have to use a div element with class .page-header.

Bootstrap Page Header Example:

<!DOCTYPE html>
<html lang="en">
  <title>Bootstrap Page Header Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="">
  <script src=""></script>
  <script src=""></script>
<div class="container">
  <div class="page-header">
    <h2>Bootstrap Page Header Example</h2>      
  <p>Bootstrap Example.</p>      
Try it:

Bootstrap Page Header Example on

Please follow and like us:

Bootstrap 3 Tutorial

Copyright © 2020 CodesJava Protection Status