- 3.x Component Gallery
- Typography
Typography
v3.x
Special typographic formats improve the understandability and readability of certain textual
entries.
BBootstrap
3.x | Typography
HTML Elements
For Bootstrap v4.x text-related classes, such as .text-uppercase visit the Utilities page.
| Abreviations |
HTML is a core Web language |
<span class="initialism">HTML</span> is a core Web language
|
|
| Lead Text |
Use lead text to summarize content or focus readers
|
<p class="lead">Use lead text to summarize content or focus readers</p>
|
|
| Math Variables |
a + b = c |
<var>a</var> + <var>b</var> = <var>c</var>
|
|
| Keyboard Keys |
CTRL + Z |
<kbd>CTRL</kbd> + <kbd>Z</kbd>
|
|
| Computer Code |
<p>This is a paragraph element</p> |
<code><p>This is a paragraph element</p>></code>
|
|
| Computer Output |
You have pressed a key! |
<samp>You have pressed a key!</samp>
|
|
| Linethrough |
This and not that |
This and <del>not that</del>
|
|
| Marker Text |
Pay attention to this |
Pay attention <mark>to this</mark>
|
|
| Small Text |
Primary Text (subordinate text) |
Primary text <small>(subordinate text)</small>
|
|
| Subscript |
Water, a.k.a. H2O |
Water, a.k.a. H<sub>2</sub>O
|
|
| Superscript |
23 = 8 |
2<sup>3</sup> = 8
|
|
| Typewriter |
Typewriter Text |
<tt>Typewriter Text</tt>
|
|