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.

Heading Example
<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.

Heading Example
.font-xs Text size variation.
.font-sm Text size variation.
.font-regular Text size variation.
.font-l Text size variation.
.font-md Text size variation.
.font-lg Text size variation.
.font-xl Text size variation.
.font-xxl Text size variation.

Inline text elements

Styling for common inline HTML5 elements.

Element Example
<mark></mark> or .mark You 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-through This 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 .underline This line of text will render as underlined.
<small></small> or .small This line of text is meant to be treated as fine print.
<em></em> or .italic This line rendered as italicized text.
<span></span> or .extra-bold This line rendered as extra-bold text.
<span></span> or .bold This line rendered as bold text.
<span></span> or .regular This line rendered as regular text.
<span></span> or .light This line rendered as light text.
<span></span> or .thin This line rendered as thin text.