Captions are designed for use immediately after headings. They offer a distinctive styling that complements the heading, allowing you to provide additional context or a brief summary.
Caption After Your Heading
To create captions, add the .caption
, class to any paragraph and use after your h2 and h3 headings for emphasis.
<h3>Caption Your Heading</h3> <p class="caption">This is the caption.</p>