- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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>
- Related Articles
- Bootstrap class dropdown-header
- Bootstrap 4 .card-header class
- Bootstrap 4 .card-header-pills class
- Bootstrap 4 .card-header-tabs class
- Header of the modal in Bootstrap
- Create a Bootstrap 4 card header
- Suppressing the page header till the last page in SAP Crystal Reports 2008
- Splitting up an HTML page and loading it through header?
- Style navigation tabs inside the Bootstrap 4 card header
- Style navigation pills inside the Bootstrap 4 card header
- Bootstrap well class
- Bootstrap progress class
- Bootstrap .card class
- Bootstrap .pagination class
- Bootstrap lead class

Advertisements