← Back to Bootstrap Course | Chapter 3: Typography | Lesson 3 of 7

Lead text

The lead class makes an introductory paragraph stand out from the rest.

In this page:

  1. Lead text
Syntax
markup
<p class="lead">Intro paragraph text.</p>

Lead text

Adding .lead to a paragraph increases its font size and lightens its weight. It is typically used for the first paragraph after a heading. Use .fs-* classes for other size steps.

Note: fs-1 to fs-6 set font sizes independently of the heading tags.

Example: Lead text

markup
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="p-3">
<div class="container">
  <h2>Article title</h2>
  <p class="lead">This lead paragraph introduces the article and stands out.</p>
  <p>Normal body text follows here with regular size.</p>
  <p class="fs-2">fs-2 sized text</p>
</div>
</body>
</html>
Live Example
Related Topics
Common Mistakes
  1. Using lead on every paragraph
  2. Confusing lead with display
  3. Using inline font-size instead
Chapter Summary
  • .lead highlights intro text
  • Larger and lighter
  • Use once per section
  • .fs-* sets sizes
🔒

Chapter Quiz — Complete all 7 topics to unlock

0/7 topics done

Complete these topics first:

Login to run this code

C/C++/Java/PHP execution requires a free account. Your code is saved — you'll land right back in the editor after logging in.