Typography

Documentation and examples for Bootstrap typography, including global settings, headings, body text, lists, and more.

Headings

All HTML headings, <h1> through <h1>, are available.

HeadingExample
<h1></h1>h1. Bootstrap heading
<h2></h2>h2. Bootstrap heading
<h3></h3>h3. Bootstrap heading
<h4></h4>h4. Bootstrap heading
<h5></h5>h5. Bootstrap heading
<h6></h6>h6. Bootstrap heading

Display headings

Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style.

Display 1

Display 2

Display 3

Display 4

Paragraph

Multiple options for styling your paragraphs text.

Default

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.

Lead

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.

Small

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.

Sizing

Easily change the size of your text with sizing classes.

HeadingExample
.font-xsText size variation.
.font-smText size variation.
.font-regularText size variation.
.font-lText size variation.
.font-mdText size variation.
.font-lgText size variation.
.font-xlText size variation.
.font-xxlText size variation.

Inline text elements

Styling for common inline HTML5 elements.

ElementExample
<mark></mark> or .markYou can use the mark tag to highlight text.
<del></del>This line of text is meant to be treated as deleted text.
<s></s> or .strike-throughThis line of text is meant to be treated as no longer accurate.
<ins></ins>This line of text is meant to be treated as an addition to the document.
<u></u> or .underlineThis line of text will render as underlined.
<small></small> or .smallThis line of text is meant to be treated as fine print.
<em></em> or .italicThis line rendered as italicized text.
<span></span> or .extra-boldThis line rendered as extra-bold text.
<span></span> or .boldThis line rendered as bold text.
<span></span> or .regularThis line rendered as regular text.
<span></span> or .lightThis line rendered as light text.
<span></span> or .thinThis line rendered as thin text.