Use different heading elements or bootstrap classes to change the size and weight of the text.
Detailed documentation and more examples of text usage you can find in our Bootstrap Typography Docs.
All HTML headings, <h1>
through <h6>
, are
available.
Heading | Example |
---|---|
|
h1. Bootstrap heading |
|
h2. Bootstrap heading |
|
h3. Bootstrap heading |
|
h4. Bootstrap heading |
|
h5. Bootstrap heading |
|
h6. Bootstrap heading |
.h1
through .h6
classes are also available, for when you want to match
the
font styling
of a heading but cannot use the associated HTML element.
h1. Bootstrap heading
h2. Bootstrap heading
h3. Bootstrap heading
h4. Bootstrap heading
h5. Bootstrap heading
h6. Bootstrap heading
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.