English 中文(简体)
Bootstrap Tutorial

Bootstrap with CSS

Bootstrap Layout Components

Bootstrap Plugins

Bootstrap Demos

Bootstrap Useful Resources

Selected Reading

Bootstrap - Page Header
  • 时间:2024-11-03

Bootstrap - Page Header


Previous Page Next Page  

The page header is a nice pttle feature to add appropriate spacing around the headings on a page. This is particularly helpful on a web page where you may have several post titles and need a way to add distinction to each of them. To use a page header, wrap your heading in a <span> with a class of .page-header

<span class = "page-header">
   <h1>
      Example page header 
      <small>Subtext for header</small>
   </h1>
</span>

<p>This is a sample text.This is a sample text.This is a sample text. This is a sample text.</p>