Skip to content Skip to navigation


CSS Class: 
How this is used: 

The caption class is used for captions beneath images, or if you want a caption below a block of text (kind of like a footnote or sidenote). The class can be applied to a <p> tag, or to a wrapper <div> or <span>.


This is a caption.

This is another caption.

<p class="caption">This is a caption.</p>
<div class="caption">
   <p>This is another caption.</p>
HTML Element: