Bootstrap 5 TutorialLesson 5Free preview
BS5 Typography
This lesson is part of Bootstrap · All levels
Summary
Bootstrap provides built-in typographic styles for larger headings h1 through h6, paragraphs, and text lead with a darker color. Utility classes such as .display-1 to .display-6 create display-style titles, while .text-start and .text-center set alignment text. Bootstrap also adds .blockquote to the quotation along with the source.
Key points
- Heading h1 to h6 is automatically given the size and distance typical of Bootstrap.
- It's a great display-style title. (.display-6) (.display-1)
- .lead gives the opening paragraphs larger and dimmer.
- The following is the text of the alignment utility: .text-start, .text-center, .text-end.
- .blockquote and .blockquote-footer for quotes and sources.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.