Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Bootstrap page-header class
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
<!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>
Advertisements
