Typography

Headings, body text, lists, and more.

Bootstrap docs

Headings

h1. Createx heading


h2. Createx heading


h3. Createx heading


h4. Createx heading


h5. Createx heading

h6. Createx heading
<!-- Headings -->
<h1>h1. Createx heading</h1>
<h2>h2. Createx heading</h2>
<h3>h3. Createx heading</h3>
<h4>h4. Createx heading</h4>
<h5>h5. Createx heading</h5>
<h6>h6. Createx heading</h6>

Display headings

Display 1


Display 2


Display 3


Display 4


Display 5


Display 6

<!-- Display headings -->
<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
<h1 class="display-5">Display 5</h1>
<h1 class="display-6">Display 6</h1>

Body text sizes

fs-1. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

fs-2. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

fs-3. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

fs-4. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

fs-5. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

fs-6. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Lead. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Large. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Normal. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Small. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Extra small. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

<!-- Body text sizes -->
<p class="fs-1">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-2">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-3">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-4">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-5">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-6">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="lead">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-lg">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-sm">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-xs">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>

Inline text elements

You can use the mark tag to highlight text.

This line of text is meant to be treated as deleted text.

This line of text is meant to be treated as no longer accurate.

This line of text is meant to be treated as an addition to the document.

This line of text will render as underlined.

This line of text is meant to be treated as fine print.

This line rendered as bold text.

This line rendered as italicized text.

<!-- Inline text elements -->
<p>You can use the mark tag to <mark>highlight</mark> text.</p>
<p><del>This line of text is meant to be treated as deleted text.</del></p>
<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
<p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
<p><u>This line of text will render as underlined.</u></p>
<p><small>This line of text is meant to be treated as fine print.</small></p>
<p><strong>This line rendered as bold text.</strong></p>
<p><em>This line rendered as italicized text.</em></p>

Abbreviations

attr

HTML

<!-- Abbreviations -->
<p><abbr title="attribute">attr</abbr></p>
<p><abbr class="initialism" title="HyperText Markup Language">HTML</abbr></p>

Blockquote

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Someone famous in Source Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Someone famous in Source Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Someone famous in Source Title
<!-- Blockquote: left aligned -->
<blockquote class="blockquote">
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
  <footer class="blockquote-footer">
    Someone famous in <cite title="Source Title">Source Title</cite>
  </footer>
</blockquote>

<!-- Blockquote: center aligned -->
<blockquote class="blockquote text-center">
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
  <footer class="blockquote-footer">
    Someone famous in <cite title="Source Title">Source Title</cite>
  </footer>
</blockquote>

<!-- Blockquote: right aligned -->
<blockquote class="blockquote text-end">
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
  <footer class="blockquote-footer">
    Someone famous in <cite title="Source Title">Source Title</cite>
  </footer>
</blockquote>

Lists: Unordered and ordered

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa
  4. Facilisis in pretium nisl aliquet
  5. Nulla volutpat aliquam velit
<!-- Unordered list -->
<ul>
  <li>Lorem ipsum dolor sit amet</li>
  <li>Consectetur adipiscing elit</li>
  <li>Integer molestie lorem at massa</li>
  <li>Facilisis in pretium nisl aliquet</li>
  <li>Nulla volutpat aliquam velit</li>
</ul>

<!-- Ordered list -->
<ol>
  <li>Lorem ipsum dolor sit amet</li>
  <li>Consectetur adipiscing elit</li>
  <li>Integer molestie lorem at massa</li>
  <li>Facilisis in pretium nisl aliquet</li>
  <li>Nulla volutpat aliquam velit</li>
</ul>

Lists: Unstyled

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
<!-- Unstyled list -->
<ul class="list-unstyled">
  <li>Lorem ipsum dolor sit amet</li>
  <li>Consectetur adipiscing elit</li>
  <li>Integer molestie lorem at massa</li>
    <ul>
      <li>Phasellus iaculis neque</li>
      <li>Purus sodales ultricies</li>
      <li>Vestibulum laoreet porttitor sem</li>
    </ul>
  </li>
  <li>Faucibus porta lacus fringilla vel</li>
  <li>Aenean sit amet erat nunc</li>
</ul>

Lists: Inline

  • Lorem ipsum dolor
  • Consectetur adipiscing
  • Integer molestie
<!-- Inline list -->
<ul class="list-inline">
  <li class="list-inline-item">Lorem ipsum dolor</li>
  <li class="list-inline-item">Consectetur adipiscing</li>
  <li class="list-inline-item">Integer molestie</li>
</ul>

Description list basic example

Description lists
A description list is perfect for defining terms.
Malesuada porta
Etiam porta sem malesuada magna mollis euismod.
Euismod
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
<!-- Description list basic example -->
<dl>
  <dt>Description lists</dt>
  <dd>A description list is perfect for defining terms.</dd>
  <dt>Malesuada porta</dt>
  <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
  <dt>Euismod</dt>
  <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
</dl>

Description list alignment

Description lists
A description list is perfect for defining terms.
Euismod

Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.

Donec id elit non mi porta gravida at eget metus.

Malesuada porta
Etiam porta sem malesuada magna mollis euismod.
Long truncated term is truncated
Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
Nesting
Nested definition list
Aenean posuere, tortor sed cursus feugiat nunc augue.
<!-- Description list alignment -->
<dl class="row">
  <dt class="col-sm-3">Description lists&nbsp;</dt>
  <dd class="col-sm-9">A description list is perfect for defining terms.</dd>
  <dt class="col-sm-3">Euismod</dt>
  <dd class="col-sm-9">
    <p class="mb-2">Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</p>
    <p class="mb-0">Donec id elit non mi porta gravida at eget metus.</p>
  </dd>
  <dt class="col-sm-3">Malesuada porta</dt>
  <dd class="col-sm-9">Etiam porta sem malesuada magna mollis euismod.</dd>
  <dt class="col-sm-3 text-truncate">Long truncated term is truncated</dt>
  <dd class="col-sm-9">Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</dd>
  <dt class="col-sm-3">Nesting</dt>
  <dd class="col-sm-9">
    <dl class="row">
      <dt class="col-sm-4">Nested definition list</dt>
      <dd class="col-sm-8">Aenean posuere, tortor sed cursus feugiat nunc augue.</dd>
    </dl>
  </dd>
</dl>
Top