Bootstrap 4 Headings: Usage and Styling Guide
☰Fullscreen
Table of Content:
Only Important Code
h1 Bootstrap heading 1
h2 Bootstrap heading 2
h3 Bootstrap heading 3
h4 Bootstrap heading 4
h5 Bootstrap heading 5
h6 Bootstrap heading 6
Full Code For The Above Example
Bootstrap Example h1 Bootstrap heading 1)
h2 Bootstrap heading 2
h3 Bootstrap heading 3
h4 Bootstrap heading 4
h5 Bootstrap heading 5
h6 Bootstrap heading 6
Only Important Code
h1 Bootstrap heading (2.5rem = 40px)
h2 Bootstrap heading (2rem = 32px)
h3 Bootstrap heading (1.75rem = 28px)
h4 Bootstrap heading (1.5rem = 24px)
h5 Bootstrap heading (1.25rem = 20px)
h6 Bootstrap heading (1rem = 16px)
Full Code For The Above Example
Bootstrap Example h1 Bootstrap heading (2.5rem = 40px)
h2 Bootstrap heading (2rem = 32px)
h3 Bootstrap heading (1.75rem = 28px)
h4 Bootstrap heading (1.5rem = 24px)
h5 Bootstrap heading (1.25rem = 20px)
h6 Bootstrap heading (1rem = 16px)
Only Important Code
Display Headings
Display headings are used to stand out more than normal headings (larger font-size and lighter font-weight):
Display 1
Display 2
Display 3
Display 4
Full Code For The Above Example
Bootstrap Example Display Headings
Display headings are used to stand out more than normal headings (larger font-size and lighter font-weight):
Display 1
Display 2
Display 3
Display 4
Only Important Code
Lighter, Secondary Text
The small element is used to create a lighter, secondary text in any heading:
h1 heading secondary text
h2 heading secondary text
h3 heading secondary text
h4 heading secondary text
h5 heading secondary text
h6 heading secondary text
Full Code For The Above Example
Bootstrap Example Lighter, Secondary Text
The small element is used to create a lighter, secondary text in any heading:
h1 heading secondary text
h2 heading secondary text
h3 heading secondary text
h4 heading secondary text
h5 heading secondary text
h6 heading secondary text