This page illustrates typography functionality, Kindly refer official Bootstrap documentation for detailed technical explanation.
Heading Size
Use h1
to h6
tags to get desire heading.
h1 heading
h2 heading
h3 heading
h4 heading
h5 heading
h6 heading
Heading with sub heading
Use small
tag to get desire sub heading.
h1 heading Sub heading
h2 heading Sub heading
h3 heading Sub heading
h4 heading Sub heading
h5 heading Sub heading
h6 heading Sub heading
Heading Display classes
Use display-1
to display-10
tags to display heading—a larger, slightly more opinionated heading style. Keep in mind these headings are responsive by default, but it’s possible to enable/disable from responsive font sizes setting.
display 1
display 2
display 3
display 4
display 5
display 6
display 7
display 8
display 9
display 10
Text Alignments
Use .text-start
.text-center
.text-end
class to get Text Alignments .
Left aligned text on all viewport sizes.
Center aligned text on all viewport sizes.
Right aligned text on all viewport sizes.
Left aligned text on viewports sized SM (small) or wider.
Left aligned text on viewports sized MD (medium) or wider.
Left aligned text on viewports sized LG (large) or wider.
Left aligned text on viewports sized XL (extra-large) or wider.
Text transform
Use .text-lowercase .text-uppercase .text-capitalize
class to get Text transform .
Lowercased text.
Uppercased text.
CapiTaliZed text.
Font weight and italics
Use .fw-bold .fw-normal .fw-light .fst-italic
class to get font weight and italics .
Bold text.
Normal weight text.
Light weight text.
Italic text.
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.
Text Colors
Use color utility classes for text Colors.
.text-primary
.text-secondary
.text-success
.text-danger
.text-warning
.text-info
.text-light
.text-dark
.text-muted
.text-white
.text-white-force
Background color
Use color utility classes for Background Colors.
Address
Use address
tag to get address styles.
1355 Market St, Suite 900
San Francisco, CA 94103
P: (123) 456-7890 Full Name
first.last@example.com